toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final schemaId = this.schemaId;
  final schemaVersionId = this.schemaVersionId;
  final schemaVersionNumber = this.schemaVersionNumber;
  return {
    if (schemaId != null) 'SchemaId': schemaId,
    if (schemaVersionId != null) 'SchemaVersionId': schemaVersionId,
    if (schemaVersionNumber != null)
      'SchemaVersionNumber': schemaVersionNumber,
  };
}