map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult api(
    1. _Api value
    ),
  2. required TResult unknown(
    1. _Unknown value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(_Api value) api,
  required TResult Function(_Unknown value) unknown,
}) =>
    throw _privateConstructorUsedError;