toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final inputFormatConfiguration = this.inputFormatConfiguration;
  final outputFormatConfiguration = this.outputFormatConfiguration;
  final schemaConfiguration = this.schemaConfiguration;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (inputFormatConfiguration != null)
      'InputFormatConfiguration': inputFormatConfiguration,
    if (outputFormatConfiguration != null)
      'OutputFormatConfiguration': outputFormatConfiguration,
    if (schemaConfiguration != null)
      'SchemaConfiguration': schemaConfiguration,
  };
}