ListSnapshotsResponse.fromJson constructor

ListSnapshotsResponse.fromJson(
  1. Map json_
)

Implementation

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