meetsTarget method

bool meetsTarget({
  1. Duration target = const Duration(milliseconds: 16),
})

Whether this result meets the performance target (default 60fps = 16.67ms).

Implementation

bool meetsTarget({Duration target = const Duration(milliseconds: 16)}) =>
    totalTime <= target;