ReserveIdsRequest.fromJson constructor

ReserveIdsRequest.fromJson(
  1. Map json_
)

Implementation

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