Lun.fromJson constructor

Lun.fromJson(
  1. Map json_
)

Implementation

Lun.fromJson(core.Map json_)
    : this(
        bootLun: json_.containsKey('bootLun')
            ? json_['bootLun'] as core.bool
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        instances: json_.containsKey('instances')
            ? (json_['instances'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        multiprotocolType: json_.containsKey('multiprotocolType')
            ? json_['multiprotocolType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        shareable: json_.containsKey('shareable')
            ? json_['shareable'] as core.bool
            : null,
        sizeGb: json_.containsKey('sizeGb')
            ? json_['sizeGb'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        storageType: json_.containsKey('storageType')
            ? json_['storageType'] as core.String
            : null,
        storageVolume: json_.containsKey('storageVolume')
            ? json_['storageVolume'] as core.String
            : null,
        wwid: json_.containsKey('wwid') ? json_['wwid'] as core.String : null,
      );