DroneUser class

Annotations
  • @freezed

Constructors

DroneUser({@Default('') String login, @Default('') String email, @Default('') String avatar, @Default('') String token, @Default(0) int id, @Default(0) int synced, @Default(0) int created, @Default(0) int updated, @Default(0) int lastLogin, @Default(false) bool machine, @Default(false) bool admin, @Default(false) bool active, @Default(false) bool syncing})
const
factory
DroneUser.fromJson(Map<String, dynamic> json)
factory

Properties

active bool
no setterinherited
admin bool
no setterinherited
avatar String
no setterinherited
copyWith → $DroneUserCopyWith<DroneUser>
no setterinherited
created int
no setterinherited
email String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
lastLogin int
no setterinherited
login String
no setterinherited
machine bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
synced int
no setterinherited
syncing bool
no setterinherited
token String
no setterinherited
updated int
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