DescribeMountTargetsResponse.fromJson constructor

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

Implementation

factory DescribeMountTargetsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeMountTargetsResponse(
    marker: json['Marker'] as String?,
    mountTargets: (json['MountTargets'] as List?)
        ?.whereNotNull()
        .map(
            (e) => MountTargetDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextMarker: json['NextMarker'] as String?,
  );
}