toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (database != null) 'database': database!,
      if (databaseDialect != null) 'databaseDialect': databaseDialect!,
      if (encryptionInfo != null) 'encryptionInfo': encryptionInfo!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (maxExpireTime != null) 'maxExpireTime': maxExpireTime!,
      if (name != null) 'name': name!,
      if (referencingBackups != null)
        'referencingBackups': referencingBackups!,
      if (referencingDatabases != null)
        'referencingDatabases': referencingDatabases!,
      if (sizeBytes != null) 'sizeBytes': sizeBytes!,
      if (state != null) 'state': state!,
      if (versionTime != null) 'versionTime': versionTime!,
    };