BatchGetOnPremisesInstancesOutput.fromJson constructor

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

Implementation

factory BatchGetOnPremisesInstancesOutput.fromJson(
    Map<String, dynamic> json) {
  return BatchGetOnPremisesInstancesOutput(
    instanceInfos: (json['instanceInfos'] as List?)
        ?.whereNotNull()
        .map((e) => InstanceInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}