Account class

Mixed in types
Annotations
  • @freezed

Constructors

Account({required int id, @JsonKey(name: 'admin') required bool isAdmin, required String username, required String email, required String firstName, required String lastName, required String language})
const
factory
Account.fromJson(JsonMap json)
factory

Properties

copyWith → $AccountCopyWith<Account>
no setterinherited
email String
no setterinherited
firstName String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
isAdmin bool
no setterinherited
language String
no setterinherited
lastName String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username 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