ClientEntry class Client-Server API

Immutable class to create ClientEntry from JSON strings.

Autogenerated from test data like this:

api_key : "123"
contract_id : 1
dep_id : 1
client_id : 1
contract : "12312313/2001"
client : "Тес. *. ч-ек"
dhw_id : 1
Annotations

Constructors

ClientEntry({required int contract_id, required int dep_id, required int client_id, required int dhw_id, @Default('ERROR') String contract, @Default('ERROR') String client, @Default('') String contract_duration, @Default('') String comment, @Default(0.0) double percent, @Default(double.infinity) double max_pay})
const
factory
ClientEntry.fromJson(Map<String, dynamic> json)
factory

Properties

client String
read-onlyinherited
client_id int
read-onlyinherited
clientId int
read-only
comment String
read-onlyinherited
contract String
read-onlyinherited
contract_duration String
read-onlyinherited
contract_id int
read-onlyinherited
contractDuration String
read-only
contractId int
read-only
copyWith → $ClientEntryCopyWith<ClientEntry>
read-onlyinherited
dep_id int
read-onlyinherited
depId int
read-only
dhw_id int
read-onlyinherited
dhwId int
read-only
hashCode int
The hash code for this object.
read-onlyinherited
max_pay double
read-onlyinherited
maxPay double
read-only
percent double
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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