toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (database != null) 'database': database!,
if (databaseUid != null) 'databaseUid': databaseUid!,
if (expireTime != null) 'expireTime': expireTime!,
if (name != null) 'name': name!,
if (snapshotTime != null) 'snapshotTime': snapshotTime!,
if (state != null) 'state': state!,
if (stats != null) 'stats': stats!,
};