SendImage class abstract

Implemented types

Constructors

SendImage({required BuildContext context, required String file, required String? chatId})
const
factory

Properties

chatId String?
no setter
context BuildContext
no setteroverride
copyWith → _$$SendImageImplCopyWith<_$SendImageImpl>
Create a copy of ChatEvent with the given fields replaced by the non-null parameter values.
no setteroverride
file String
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult checkChatId(CheckChatId value), required TResult sendImage(SendImage value), required TResult sendMessage(SendMessage value), required TResult editMessage(EditMessage value), required TResult replyMessage(ReplyMessage value), required TResult deleteMessage(DeleteMessage value), required TResult createAndSendMessage(CreateAndSendMessage value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? checkChatId(CheckChatId value)?, TResult? sendImage(SendImage value)?, TResult? sendMessage(SendMessage value)?, TResult? editMessage(EditMessage value)?, TResult? replyMessage(ReplyMessage value)?, TResult? deleteMessage(DeleteMessage value)?, TResult? createAndSendMessage(CreateAndSendMessage value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult checkChatId(CheckChatId value)?, TResult sendImage(SendImage value)?, TResult sendMessage(SendMessage value)?, TResult editMessage(EditMessage value)?, TResult replyMessage(ReplyMessage value)?, TResult deleteMessage(DeleteMessage value)?, TResult createAndSendMessage(CreateAndSendMessage value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult checkChatId(BuildContext context, int sellerId)?, TResult sendImage(BuildContext context, String file, String? chatId)?, TResult sendMessage(BuildContext context, String message, String? chatId)?, TResult editMessage(BuildContext context, String message, String messageId, String? chatId)?, TResult replyMessage(BuildContext context, String message, String messageId, String? chatId)?, TResult deleteMessage(BuildContext context, String messageId, String? chatId)?, TResult createAndSendMessage(BuildContext context, String message, int userId, Function onSuccess)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult checkChatId(BuildContext context, int sellerId), required TResult sendImage(BuildContext context, String file, String? chatId), required TResult sendMessage(BuildContext context, String message, String? chatId), required TResult editMessage(BuildContext context, String message, String messageId, String? chatId), required TResult replyMessage(BuildContext context, String message, String messageId, String? chatId), required TResult deleteMessage(BuildContext context, String messageId, String? chatId), required TResult createAndSendMessage(BuildContext context, String message, int userId, Function onSuccess)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? checkChatId(BuildContext context, int sellerId)?, TResult? sendImage(BuildContext context, String file, String? chatId)?, TResult? sendMessage(BuildContext context, String message, String? chatId)?, TResult? editMessage(BuildContext context, String message, String messageId, String? chatId)?, TResult? replyMessage(BuildContext context, String message, String messageId, String? chatId)?, TResult? deleteMessage(BuildContext context, String messageId, String? chatId)?, TResult? createAndSendMessage(BuildContext context, String message, int userId, Function onSuccess)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited