ListStudiosOutput.fromJson constructor

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

Implementation

factory ListStudiosOutput.fromJson(Map<String, dynamic> json) {
  return ListStudiosOutput(
    marker: json['Marker'] as String?,
    studios: (json['Studios'] as List?)
        ?.whereNotNull()
        .map((e) => StudioSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}