Client class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Client({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, String? code, String? externalCode, String? name, ClientStatus? status, String? url, String? phone, List<int>? contacts, List<int>? addresses})
Client.fromJson(Map<String, dynamic> json)
factory

Properties

addresses List<int>?
final
code String?
final
contacts List<int>?
final
dbDateCreated DateTime?
final
dbDateUpdated DateTime?
final
externalCode String?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
name String?
final
phone String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ClientStatus?
final
url String?
final

Methods

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.
inherited

Operators

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

Constants

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