toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiKey != null) 'apiKey': apiKey!,
      if (appId != null) 'appId': appId!,
      if (authDomain != null) 'authDomain': authDomain!,
      if (databaseURL != null) 'databaseURL': databaseURL!,
      if (locationId != null) 'locationId': locationId!,
      if (measurementId != null) 'measurementId': measurementId!,
      if (messagingSenderId != null) 'messagingSenderId': messagingSenderId!,
      if (projectId != null) 'projectId': projectId!,
      if (storageBucket != null) 'storageBucket': storageBucket!,
    };