Mutation$AddOrUpdateLowPowerAlarm.fromJson constructor

Mutation$AddOrUpdateLowPowerAlarm.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Mutation$AddOrUpdateLowPowerAlarm.fromJson(
  Map<String, dynamic> json,
) {
  final l$addOrUpdatePlusDeviceLowPowerAlarmConfiguration =
      json['addOrUpdatePlusDeviceLowPowerAlarmConfiguration'];
  final l$$__typename = json['__typename'];
  return Mutation$AddOrUpdateLowPowerAlarm(
    addOrUpdatePlusDeviceLowPowerAlarmConfiguration:
        l$addOrUpdatePlusDeviceLowPowerAlarmConfiguration == null
        ? null
        : Mutation$AddOrUpdateLowPowerAlarm$addOrUpdatePlusDeviceLowPowerAlarmConfiguration.fromJson(
            (l$addOrUpdatePlusDeviceLowPowerAlarmConfiguration
                as Map<String, dynamic>),
          ),
    $__typename: (l$$__typename as String),
  );
}