LoadedSourcesResponseBody.fromMap constructor

LoadedSourcesResponseBody.fromMap(
  1. Map<String, Object?> obj
)

Implementation

LoadedSourcesResponseBody.fromMap(Map<String, Object?> obj)
    : sources = (obj['sources'] as List)
          .map((item) => Source.fromJson(item as Map<String, Object?>))
          .toList();