AllocateIdsRequest.fromJson constructor

AllocateIdsRequest.fromJson(
  1. Map json_
)

Implementation

AllocateIdsRequest.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,
      );