map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult bytes(
    1. MemoryImage value
    ),
  2. required TResult asset(
    1. AssetImage value
    ),
  3. required TResult network(
    1. NetworkImage value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(MemoryImage value) bytes,
  required TResult Function(AssetImage value) asset,
  required TResult Function(NetworkImage value) network,
}) =>
    throw _privateConstructorUsedError;