toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.stringValue != null) {
    json[r'stringValue'] = this.stringValue;
  } else {
    json[r'stringValue'] = null;
  }
  if (this.decoratorType != null) {
    json[r'decoratorType'] = this.decoratorType;
  } else {
    json[r'decoratorType'] = null;
  }
  if (this.empty != null) {
    json[r'empty'] = this.empty;
  } else {
    json[r'empty'] = null;
  }
  return json;
}