toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final className = this.className;
  final collectionElementClassName = this.collectionElementClassName;
  final config = this.config;
  final dataType = this.dataType;
  final defaultValue = this.defaultValue;
  final isDeprecated = this.isDeprecated;
  final isOutput = this.isOutput;
  final jsonSchema = this.jsonSchema;
  final key = this.key;
  final protoDef = this.protoDef;
  final required = this.required;
  final validationRule = this.validationRule;
  return {
    'className': ?className,
    'collectionElementClassName': ?collectionElementClassName,
    'config': ?config,
    'dataType': ?dataType,
    'defaultValue': ?defaultValue,
    'isDeprecated': ?isDeprecated,
    'isOutput': ?isOutput,
    'jsonSchema': ?jsonSchema,
    'key': ?key,
    'protoDef': ?protoDef,
    'required': ?required,
    'validationRule': ?validationRule,
  };
}