AvatarModel class

Constructors

AvatarModel({String? id, required String name, required String src, required String location, required int version})
AvatarModel.fromJson(String source)
factory
AvatarModel.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id String?
final
location String
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src String
getter/setter pair
version int
final

Methods

copyWith({String? id, String? name, String? src, String? location, int? version}) AvatarModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant AvatarModel other) bool
The equality operator.
override