InstantSnapshotsScopedList.fromJson constructor

InstantSnapshotsScopedList.fromJson(
  1. Map json_
)

Implementation

InstantSnapshotsScopedList.fromJson(core.Map json_)
    : this(
        instantSnapshots: json_.containsKey('instantSnapshots')
            ? (json_['instantSnapshots'] as core.List)
                .map((value) => InstantSnapshot.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? InstantSnapshotsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );