maxDuration property

int maxDuration

Implementation

int get maxDuration => trips?.map((e) => (e.totalDuration ?? 0)).reduce(max) ?? 0;