LookupRequest.fromJson constructor

LookupRequest.fromJson(
  1. Map json_
)

Implementation

LookupRequest.fromJson(core.Map json_)
    : this(
        databaseId: json_.containsKey('databaseId')
            ? json_['databaseId'] as core.String
            : null,
        keys: json_.containsKey('keys')
            ? (json_['keys'] as core.List)
                .map((value) => Key.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        readOptions: json_.containsKey('readOptions')
            ? ReadOptions.fromJson(
                json_['readOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );