getOrNull<T extends Object?> method

T? getOrNull<T extends Object?>({
  1. Object? key,
  2. T? defaultValue,
  3. ObjectBuilder<T>? builder,
})

Implementation

T? getOrNull<T extends Object?>({
  Object? key,
  T? defaultValue,
  ObjectBuilder<T>? builder,
}) {
  return findOrNull(
    key: key,
    defaultValue: defaultValue,
    builder: builder,
  );
}