ServiceEntry class Client-Server API
Immutable class to create ServiceEntry from JSON strings.
Autogenerated from test data like this:
id : 558
tnum : ""
serv_text : ":"
total : 1
image : "None"
serv_id_list : "558807"
- Annotations
Constructors
- ServiceEntry({required int id, required String serv_text, @Default('not-found.png') String image, @Default('___') String tnum, @Default(0) int total, @Default('') String short_text, @Default('') String serv_id_list, @Default(1) int sub_serv, @Default('') String comment, @Default(0.0) double price})
-
constfactory
-
ServiceEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- comment → String
-
read-onlyinherited
-
copyWith
→ $ServiceEntryCopyWith<
ServiceEntry> -
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → int
-
read-onlyinherited
- image → String
-
read-onlyinherited
- imagePath → String
-
read-only
- price → double
-
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- serv_id_list → String
-
read-onlyinherited
- serv_text → String
-
read-onlyinherited
- servIdList → String
-
read-only
- servText → String
-
read-only
- servTextAdd → String
-
read-only
- short_text → String
-
read-onlyinherited
- shortText → String
-
read-only
- sub_serv → int
-
read-onlyinherited
- subServ → int
-
read-only
- tNum → String
-
read-only
- tnum → String
-
read-onlyinherited
- total → int
-
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