Client class

Available extensions
Annotations
  • @JsonSerializable.new(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

copyWith({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

Available on Client, provided by the $ClientExtension extension

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)