TimeChangedEvent.fromJson constructor
Implementation
factory TimeChangedEvent.fromJson(Map<String, dynamic> json) {
/// The key `currentTime` is only available in iOS.
if (json.containsKey('currentTime')) {
/// map `currentTime` to `time`
json['time'] = json['currentTime'];
}
return _$TimeChangedEventFromJson(json);
}