VTLDevice.fromJson constructor

VTLDevice.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VTLDevice.fromJson(Map<String, dynamic> json) {
  return VTLDevice(
    deviceiSCSIAttributes: json['DeviceiSCSIAttributes'] != null
        ? DeviceiSCSIAttributes.fromJson(
            json['DeviceiSCSIAttributes'] as Map<String, dynamic>)
        : null,
    vTLDeviceARN: json['VTLDeviceARN'] as String?,
    vTLDeviceProductIdentifier: json['VTLDeviceProductIdentifier'] as String?,
    vTLDeviceType: json['VTLDeviceType'] as String?,
    vTLDeviceVendor: json['VTLDeviceVendor'] as String?,
  );
}