map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult messageView(
    1. UGetMessagesMessageMessageView value
    ),
  2. required TResult deletedMessageView(
    1. UGetMessagesMessageDeletedMessageView value
    ),
  3. required TResult unknown(
    1. UGetMessagesMessageUnknown value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(UGetMessagesMessageMessageView value) messageView,
  required TResult Function(UGetMessagesMessageDeletedMessageView value)
      deletedMessageView,
  required TResult Function(UGetMessagesMessageUnknown value) unknown,
}) =>
    throw _privateConstructorUsedError;