BatchGetDeploymentInstancesOutput.fromJson constructor

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

Implementation

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