mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? bool(
    1. MyValue_Bool value
    )?,
  2. TResult? string(
    1. MyValue_String value
    )?,
  3. TResult? array(
    1. MyValue_Array value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(MyValue_Bool value)? bool,
  TResult? Function(MyValue_String value)? string,
  TResult? Function(MyValue_Array value)? array,
}) =>
    throw _privateConstructorUsedError;