PartnerUnclaim.fromJson constructor

PartnerUnclaim.fromJson(
  1. Map json_
)

Implementation

PartnerUnclaim.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        deviceIdentifier: json_.containsKey('deviceIdentifier')
            ? DeviceIdentifier.fromJson(json_['deviceIdentifier']
                as core.Map<core.String, core.dynamic>)
            : null,
        sectionType: json_.containsKey('sectionType')
            ? json_['sectionType'] as core.String
            : null,
        vacationModeDays: json_.containsKey('vacationModeDays')
            ? json_['vacationModeDays'] as core.int
            : null,
        vacationModeExpireTime: json_.containsKey('vacationModeExpireTime')
            ? json_['vacationModeExpireTime'] as core.String
            : null,
      );