GoogleFirestoreAdminV1Database.fromJson constructor

GoogleFirestoreAdminV1Database.fromJson(
  1. Map _json
)

Implementation

GoogleFirestoreAdminV1Database.fromJson(core.Map _json)
    : this(
        appEngineIntegrationMode:
            _json.containsKey('appEngineIntegrationMode')
                ? _json['appEngineIntegrationMode'] as core.String
                : null,
        concurrencyMode: _json.containsKey('concurrencyMode')
            ? _json['concurrencyMode'] as core.String
            : null,
        etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
        keyPrefix: _json.containsKey('keyPrefix')
            ? _json['keyPrefix'] as core.String
            : null,
        locationId: _json.containsKey('locationId')
            ? _json['locationId'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );