Asset class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

Asset({required String modelId, List<String>? tags, String? id, required String $id, int? cstamp, String? cby, String? uby, int? ustamp, required String name, String? icon, String? description, List<String>? images})
const
Asset.fromJson(Map<String, dynamic> json)
factory

Properties

$id String
final
cby String?
final
cstamp int?
final
description String?
final
hashCode int
The hash code for this object.
no setteroverride
icon String?
final
id String?
final
images List<String>?
final
final
modelId String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
final
uby String?
final
ustamp int?
final

Methods

copyWith({String? modelId, List<String>? tags, String? id, String? $id, int? cstamp, String? cby, String? uby, int? ustamp, String? name, String? icon, String? description, List<String>? images}) Asset

Available on Asset, provided by the $AssetExtension extension

copyWithWrapped({Wrapped<String>? modelId, Wrapped<List<String>?>? tags, Wrapped<String?>? id, Wrapped<String>? $id, Wrapped<int?>? cstamp, Wrapped<String?>? cby, Wrapped<String?>? uby, Wrapped<int?>? ustamp, Wrapped<String>? name, Wrapped<String?>? icon, Wrapped<String?>? description, Wrapped<List<String>?>? images}) Asset

Available on Asset, provided by the $AssetExtension extension

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

Operators

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

Constants

fromJsonFactory → const Asset Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Asset instance)