resolveOrNull method

T? resolveOrNull([
  1. T? or
])

Implementation

T? resolveOrNull([T? or]) => this is Future<T?> ? or : ((this as T?) ?? or);