toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authDomain != null) 'authDomain': authDomain!,
      if (codeBucket != null) 'codeBucket': codeBucket!,
      if (databaseType != null) 'databaseType': databaseType!,
      if (defaultBucket != null) 'defaultBucket': defaultBucket!,
      if (defaultCookieExpiration != null)
        'defaultCookieExpiration': defaultCookieExpiration!,
      if (defaultHostname != null) 'defaultHostname': defaultHostname!,
      if (dispatchRules != null) 'dispatchRules': dispatchRules!,
      if (featureSettings != null) 'featureSettings': featureSettings!,
      if (gcrDomain != null) 'gcrDomain': gcrDomain!,
      if (generatedCustomerMetadata != null)
        'generatedCustomerMetadata': generatedCustomerMetadata!,
      if (iap != null) 'iap': iap!,
      if (id != null) 'id': id!,
      if (locationId != null) 'locationId': locationId!,
      if (name != null) 'name': name!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (servingStatus != null) 'servingStatus': servingStatus!,
    };