KeyRangeInfos.fromJson constructor

KeyRangeInfos.fromJson(
  1. Map json_
)

Implementation

KeyRangeInfos.fromJson(core.Map json_)
    : this(
        infos: json_.containsKey('infos')
            ? (json_['infos'] as core.List)
                .map((value) => KeyRangeInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
      );