AttachmentModel class abstract

Base class Attachment

See https://dev.vk.com/ru/docs/attachments

Implementers

Constructors

AttachmentModel(Map<String, dynamic> payload, {required String attachType})
AttachmentModel.fromSpecificModel(Map<String, dynamic> payload, String attachType)
Transforms the attachment object into a specific model, depending on its type. There may be exceptions VkDartException in the case of a non-correct object, or if the type is not supported
factory

Properties

attachType String
Attachment type.
final
hashCode int
The hash code for this object.
no setterinherited
payload Map<String, dynamic>
Payload.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkBoolInProperty(String key) bool?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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