PublicSendModelAny class abstract

Inheritance

Constructors

PublicSendModelAny({@JsonKey(name: 'type') String type, @JsonKey(name: 'data') dynamic data})
const
factory
PublicSendModelAny.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$PublicSendModelAnyImplCopyWith<_$PublicSendModelAnyImpl>
Create a copy of PublicSendModel with the given fields replaced by the non-null parameter values.
no setteroverride
data → dynamic
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setteroverride

Methods

map<TResult extends Object?>(TResult $default(_PublicSendModel value), {required TResult arr(PublicSendModelArr value), required TResult any(PublicSendModelAny value)}) → TResult
inherited
mapOrNull<TResult extends Object?>(TResult? $default(_PublicSendModel value)?, {TResult? arr(PublicSendModelArr value)?, TResult? any(PublicSendModelAny value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>(TResult $default(_PublicSendModel value)?, {TResult arr(PublicSendModelArr value)?, TResult any(PublicSendModelAny value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>(TResult $default(String type, String data)?, {TResult arr(String type, List<String> data)?, TResult any(String type, dynamic data)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this PublicSendModel to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String type, String data), {required TResult arr(String type, List<String> data), required TResult any(String type, dynamic data)}) → TResult
inherited
whenOrNull<TResult extends Object?>(TResult? $default(String type, String data)?, {TResult? arr(String type, List<String> data)?, TResult? any(String type, dynamic data)?}) → TResult?
inherited

Operators

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