AssetField class

AssetField is the field that contains the actual file. It has the title and description of the file. the file itself is in the FileField. The FileField contains the url of the file and the details of the file. The details are the size and the content type. also the dimensions and the size of the image if it's an image.

Annotations
  • @freezed

Constructors

AssetField({String? title, String? description, FileField? file})
AssetField is the field that contains the actual file. It has the title and description of the file. the file itself is in the FileField. The FileField contains the url of the file and the details of the file. The details are the size and the content type. also the dimensions and the size of the image if it's an image.
const
factory
AssetField.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $AssetFieldCopyWith<AssetField>
no setterinherited
description String?
no setterinherited
file FileField?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title 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