GetAlarmsResult.fromJson constructor
Implementation
factory GetAlarmsResult.fromJson(Map<String, dynamic> json) {
return GetAlarmsResult(
alarms: (json['alarms'] as List?)
?.whereNotNull()
.map((e) => Alarm.fromJson(e as Map<String, dynamic>))
.toList(),
nextPageToken: json['nextPageToken'] as String?,
);
}