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,
        propertyMask: json_.containsKey('propertyMask')
            ? PropertyMask.fromJson(
                json_['propertyMask'] as core.Map<core.String, core.dynamic>)
            : null,
        readOptions: json_.containsKey('readOptions')
            ? ReadOptions.fromJson(
                json_['readOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );