Query$GetAlarmConfigurations$deviceByIdV2.fromJson constructor

Query$GetAlarmConfigurations$deviceByIdV2.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$GetAlarmConfigurations$deviceByIdV2.fromJson(
  Map<String, dynamic> json,
) {
  final l$id = json['id'];
  final l$plusDevice = json['plusDevice'];
  final l$$__typename = json['__typename'];
  return Query$GetAlarmConfigurations$deviceByIdV2(
    id: ensureDashedUuidFromId(l$id),
    plusDevice: l$plusDevice == null
        ? null
        : Query$GetAlarmConfigurations$deviceByIdV2$plusDevice.fromJson(
            (l$plusDevice as Map<String, dynamic>),
          ),
    $__typename: (l$$__typename as String),
  );
}