PublicMediumModel class

Constructors

PublicMediumModel({required String documentID, required String authorId, String? base, String? ext, String? url, String? ref, String? urlThumbnail, String? refThumbnail, PublicMediumType? mediumType, int? mediumWidth, int? mediumHeight, int? thumbnailWidth, int? thumbnailHeight, String? relatedMediumId})

Properties

authorId String
getter/setter pair
base String?
getter/setter pair
documentID String
getter/setter pairoverride
ext String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
mediumHeight int?
getter/setter pair
mediumType PublicMediumType?
getter/setter pair
mediumWidth int?
getter/setter pair
ref String?
getter/setter pair
refThumbnail String?
getter/setter pair
relatedMediumId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnailHeight int?
getter/setter pair
thumbnailWidth int?
getter/setter pair
url String?
getter/setter pair
urlThumbnail String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? authorId, String? base, String? ext, String? url, String? ref, String? urlThumbnail, String? refThumbnail, PublicMediumType? mediumType, int? mediumWidth, int? mediumHeight, int? thumbnailWidth, int? thumbnailHeight, String? relatedMediumId}) PublicMediumModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) PublicMediumEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, PublicMediumEntity? entity) Future<PublicMediumModel?>
fromEntityPlus(String documentID, PublicMediumEntity? entity, {String? appId}) Future<PublicMediumModel?>

Constants

id → const String
packageName → const String