PublicResource class

Annotations
  • @freezed

Constructors

PublicResource({@JsonKey(name: 'antivirus_status') Object? antivirusStatus, @JsonKey(name: 'views_count') int? viewsCount, @JsonKey(name: 'resource_id') String? resourceId, @JsonKey(name: 'share') ShareInfo? share, @JsonKey(name: 'file') String? file, @JsonKey(name: 'owner') UserPublicInformation? owner, @JsonKey(name: 'size') int? size, @JsonKey(name: 'photoslice_time') String? photosliceTime, @JsonKey(name: '_embedded') PublicResourceList? embedded, @JsonKey(name: 'exif') Exif? exif, @JsonKey(name: 'media_type') String? mediaType, @JsonKey(name: 'type') required String type, @JsonKey(name: 'mime_type') String? mimeType, @JsonKey(name: 'sha256') String? sha256, @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') required String publicKey, @JsonKey(name: 'preview') String? preview, @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
PublicResource.fromJson(Map<String, dynamic> json)
factory

Properties

antivirusStatus Object?
no setterinherited
commentIds CommentIds?
no setterinherited
copyWith → $PublicResourceCopyWith<PublicResource>
no setterinherited
created String
no setterinherited
embedded PublicResourceList?
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
owner UserPublicInformation?
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
viewsCount int?
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