Move things from tabs, add me view
This commit is contained in:
@@ -2,11 +2,13 @@ class StaticTalkgroup {
|
||||
final String? talkgroup;
|
||||
final String? repeaterId;
|
||||
final String? slot;
|
||||
final int? timeout;
|
||||
|
||||
StaticTalkgroup({
|
||||
this.talkgroup,
|
||||
this.repeaterId,
|
||||
this.slot,
|
||||
this.timeout,
|
||||
});
|
||||
|
||||
factory StaticTalkgroup.fromJson(Map<String, dynamic> json) {
|
||||
@@ -14,6 +16,7 @@ class StaticTalkgroup {
|
||||
talkgroup: json['talkgroup']?.toString(),
|
||||
repeaterId: json['repeaterId']?.toString(),
|
||||
slot: json['slot']?.toString(),
|
||||
timeout: json['timeout'] as int?,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -22,6 +25,7 @@ class StaticTalkgroup {
|
||||
'talkgroup': talkgroup,
|
||||
'repeaterId': repeaterId,
|
||||
'slot': slot,
|
||||
'timeout': timeout,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user