DataDiskAssignment.fromJson constructor

DataDiskAssignment.fromJson(
  1. Map _json
)

Implementation

DataDiskAssignment.fromJson(core.Map _json)
    : this(
        dataDisks: _json.containsKey('dataDisks')
            ? (_json['dataDisks'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        vmInstance: _json.containsKey('vmInstance')
            ? _json['vmInstance'] as core.String
            : null,
      );