$UMessageInputEmbedExtension extension

on

Properties

isNotRecord bool
Returns true if this data is not Record, otherwise false.
no setter
isNotUnknown bool
Returns true if this data is not unknown object, otherwise false.
no setter
isRecord bool
Returns true if this data is Record, otherwise false.
no setter
isUnknown bool
Returns true if this data is unknown object, otherwise false.
no setter
record Record
Returns this data as Record.
no setter
recordOrNull Record?
Returns Record if this data is Record, otherwise null.
no setter
unknown Map<String, dynamic>
Returns this data as JSON object.
no setter
unknownOrNull Map<String, dynamic>?
Returns JSON object if this data is unknown, otherwise null.
no setter

Methods

toJson() Map<String, dynamic>
Returns JSON representation.