GoogleChromeManagementV1BatteryInfo.fromJson constructor

GoogleChromeManagementV1BatteryInfo.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1BatteryInfo.fromJson(core.Map json_)
    : this(
        designCapacity: json_.containsKey('designCapacity')
            ? json_['designCapacity'] as core.String
            : null,
        designMinVoltage: json_.containsKey('designMinVoltage')
            ? json_['designMinVoltage'] as core.int
            : null,
        manufactureDate: json_.containsKey('manufactureDate')
            ? GoogleTypeDate.fromJson(json_['manufactureDate']
                as core.Map<core.String, core.dynamic>)
            : null,
        manufacturer: json_.containsKey('manufacturer')
            ? json_['manufacturer'] as core.String
            : null,
        serialNumber: json_.containsKey('serialNumber')
            ? json_['serialNumber'] as core.String
            : null,
        technology: json_.containsKey('technology')
            ? json_['technology'] as core.String
            : null,
      );