Resource class

Annotations
  • @freezed

Constructors

Resource({@JsonKey(name: 'antivirus_status') Object? antivirusStatus, @JsonKey(name: 'resource_id') String? resourceId, @JsonKey(name: 'share') ShareInfo? share, @JsonKey(name: 'file') String? file, @JsonKey(name: 'size') int? size, @JsonKey(name: 'photoslice_time') String? photosliceTime, @JsonKey(name: '_embedded') ResourceList? embedded, @JsonKey(name: 'exif') Exif? exif, @JsonKey(name: 'custom_properties') Map? customProperties, @JsonKey(name: 'media_type') String? mediaType, @JsonKey(name: 'preview') String? preview, @JsonKey(name: 'type') required String type, @JsonKey(name: 'mime_type') String? mimeType, @JsonKey(name: 'revision') int? revision, @JsonKey(name: 'public_url') String? publicUrl, @JsonKey(name: 'path') required String path, @JsonKey(name: 'md5') String? md5, @JsonKey(name: 'public_key') String? publicKey, @JsonKey(name: 'sha256') String? sha256, @JsonKey(name: 'name') required String name, @JsonKey(name: 'created') required String created, @JsonKey(name: 'modified') required String modified, @JsonKey(name: 'comment_ids') CommentIds? commentIds})
const
factory
Resource.fromJson(Map<String, dynamic> json)
factory

Properties

antivirusStatus Object?
no setterinherited
commentIds CommentIds?
no setterinherited
copyWith → $ResourceCopyWith<Resource>
no setterinherited
created String
no setterinherited
customProperties Map?
no setterinherited
embedded ResourceList?
no setterinherited
exif Exif?
no setterinherited
file String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
md5 String?
no setterinherited
mediaType String?
no setterinherited
mimeType String?
no setterinherited
modified String
no setterinherited
name String
no setterinherited
path String
no setterinherited
photosliceTime String?
no setterinherited
preview String?
no setterinherited
publicKey String?
no setterinherited
publicUrl String?
no setterinherited
resourceId String?
no setterinherited
revision int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha256 String?
no setterinherited
share ShareInfo?
no setterinherited
size int?
no setterinherited
type String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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