TimeZone.fromJson constructor
TimeZone.fromJson(
- Object? j
Implementation
factory TimeZone.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return TimeZone(
id: switch (json['id']) {
null => '',
Object $1 => decodeString($1),
},
version: switch (json['version']) {
null => '',
Object $1 => decodeString($1),
},
);
}