ListLayersResponse.fromJson constructor
Implementation
factory ListLayersResponse.fromJson(Map<String, dynamic> json) {
return ListLayersResponse(
layers: (json['Layers'] as List?)
?.whereNotNull()
.map((e) => LayersListItem.fromJson(e as Map<String, dynamic>))
.toList(),
nextMarker: json['NextMarker'] as String?,
);
}