ProvisioningInfo.fromJson constructor

ProvisioningInfo.fromJson(
  1. Map json_
)

Implementation

ProvisioningInfo.fromJson(core.Map json_)
    : this(
        apiLevel: json_.containsKey('apiLevel')
            ? json_['apiLevel'] as core.int
            : null,
        authenticatedUserEmail: json_.containsKey('authenticatedUserEmail')
            ? json_['authenticatedUserEmail'] as core.String
            : null,
        brand:
            json_.containsKey('brand') ? json_['brand'] as core.String : null,
        enterprise: json_.containsKey('enterprise')
            ? json_['enterprise'] as core.String
            : null,
        imei: json_.containsKey('imei') ? json_['imei'] as core.String : null,
        managementMode: json_.containsKey('managementMode')
            ? json_['managementMode'] as core.String
            : null,
        meid: json_.containsKey('meid') ? json_['meid'] as core.String : null,
        model:
            json_.containsKey('model') ? json_['model'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        ownership: json_.containsKey('ownership')
            ? json_['ownership'] as core.String
            : null,
        serialNumber: json_.containsKey('serialNumber')
            ? json_['serialNumber'] as core.String
            : null,
      );