getOrNull method

T? getOrNull()

Implementation

T? getOrNull() => value.fold((l) => null, id);