增添優化功能
This commit is contained in:
@@ -9,6 +9,7 @@ class ClockInRecord {
|
||||
final double? longitude;
|
||||
final String? type;
|
||||
final String? storeId;
|
||||
final String? StoreName;
|
||||
|
||||
ClockInRecord({
|
||||
this.clockInId,
|
||||
@@ -18,6 +19,7 @@ class ClockInRecord {
|
||||
this.longitude,
|
||||
this.type,
|
||||
this.storeId,
|
||||
this.StoreName,
|
||||
});
|
||||
|
||||
factory ClockInRecord.fromJson(Map<String, dynamic> json) {
|
||||
@@ -29,6 +31,7 @@ class ClockInRecord {
|
||||
longitude: double.tryParse(json['ClockInLongitude']?.toString() ?? '0'),
|
||||
type: json['ClockInType'] as String?,
|
||||
storeId: json['ClockInStoreId'] as String?,
|
||||
StoreName: json['StoreName'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user