AdminModel class

Response DTO of a single admin model.

Implemented types
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AdminModel({String id = "", String created = "", String updated = "", int avatar = 0, String email = ""})

Properties

avatar int
getter/setter pair
created String
getter/setter pair
email String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated String
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) AdminModel