ListMeshesOutput.fromJson constructor

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

Implementation

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