DescribeVTLDevicesOutput.fromJson constructor

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

Implementation

factory DescribeVTLDevicesOutput.fromJson(Map<String, dynamic> json) {
  return DescribeVTLDevicesOutput(
    gatewayARN: json['GatewayARN'] as String?,
    marker: json['Marker'] as String?,
    vTLDevices: (json['VTLDevices'] as List?)
        ?.whereNotNull()
        .map((e) => VTLDevice.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}