AssetModel class

AssetModel refers to the generic class for asset result

Annotations

Constructors

AssetModel(String uid, String createdAt, String updatedAt, String createdBy, String updatedBy, String contentType, String fileSize, List tags, String filename, String url, int version, String title, Map dimension, Map publishDetails)
AssetModel.fromJson(Map<String, dynamic> json)
factory

Properties

contentType String
@JsonKey(name: 'content_type'), read / write
createdAt String
@JsonKey(name: 'created_at'), read / write
createdBy String
@JsonKey(name: 'created_by'), read / write
dimension Map
read / write
filename String
read / write
fileSize String
@JsonKey(name: 'file_size'), read / write
hashCode int
The hash code for this object.
read-only, inherited
publishDetails Map
@JsonKey(name: 'publish_details'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tags List
read / write
title String
read / write
uid String
read / write
updatedAt String
@JsonKey(name: 'updated_at'), read / write
updatedBy String
@JsonKey(name: 'updated_by'), read / write
url String
read / write
version int
@JsonKey(name: '_version'), read / write

Methods

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

Operators

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