Commit 941b3744 authored by Dio Maulana's avatar Dio Maulana

add timezone model

parent 216e5850
......@@ -4,6 +4,7 @@ class AbsentSuccessModel {
String date;
String time;
String type;
String timeZone;
AbsentSuccessModel({
required this.branchCode,
......@@ -11,6 +12,7 @@ class AbsentSuccessModel {
required this.date,
required this.time,
required this.type,
required this.timeZone,
});
factory AbsentSuccessModel.json(Map<String, dynamic> json) {
......@@ -20,6 +22,7 @@ class AbsentSuccessModel {
date: json['date'],
time: json['time'],
type: json['type'],
timeZone: json['time_zone'],
);
}
}
......@@ -152,7 +152,7 @@ Sukses''',
),
),
Text(
absentSuccess.time,
"${absentSuccess.time} ${absentSuccess.timeZone}",
style: getSemiBoldStyle(
color: ColorManager.fontBlack,
fontSize: FontSize.s20,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment