ListLocalDisksOutput.fromJson constructor

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

Implementation

factory ListLocalDisksOutput.fromJson(Map<String, dynamic> json) {
  return ListLocalDisksOutput(
    disks: (json['Disks'] as List?)
        ?.whereNotNull()
        .map((e) => Disk.fromJson(e as Map<String, dynamic>))
        .toList(),
    gatewayARN: json['GatewayARN'] as String?,
  );
}