BatchGetPhotosResponse.fromJson constructor

BatchGetPhotosResponse.fromJson(
  1. Map json_
)

Implementation

BatchGetPhotosResponse.fromJson(core.Map json_)
    : this(
        results: json_.containsKey('results')
            ? (json_['results'] as core.List)
                .map((value) => PhotoResponse.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );