resultOrNull<T> method

T? resultOrNull<T>()

Implementation

T? resultOrNull<T>() {
  return allResults.whereType<T>().firstOrNull;
}