GoogleFirebaseExtensionsV1betaExtensionInstance.fromJson constructor

GoogleFirebaseExtensionsV1betaExtensionInstance.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseExtensionsV1betaExtensionInstance.fromJson(core.Map _json)
    : this(
        config: _json.containsKey('config')
            ? GoogleFirebaseExtensionsV1betaExtensionInstanceConfig.fromJson(
                _json['config'] as core.Map<core.String, core.dynamic>)
            : null,
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        errorStatus: _json.containsKey('errorStatus')
            ? GoogleRpcStatus.fromJson(
                _json['errorStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
        lastOperationName: _json.containsKey('lastOperationName')
            ? _json['lastOperationName'] as core.String
            : null,
        lastOperationType: _json.containsKey('lastOperationType')
            ? _json['lastOperationType'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        serviceAccountEmail: _json.containsKey('serviceAccountEmail')
            ? _json['serviceAccountEmail'] as core.String
            : null,
        state:
            _json.containsKey('state') ? _json['state'] as core.String : null,
        updateTime: _json.containsKey('updateTime')
            ? _json['updateTime'] as core.String
            : null,
      );