toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final doubleValue = this.doubleValue;
  final integerValue = this.integerValue;
  final longValue = this.longValue;
  final name = this.name;
  final stringSetValue = this.stringSetValue;
  final type = this.type;
  return {
    if (doubleValue != null) 'doubleValue': doubleValue,
    if (integerValue != null) 'integerValue': integerValue,
    if (longValue != null) 'longValue': longValue,
    if (name != null) 'name': name,
    if (stringSetValue != null) 'stringSetValue': stringSetValue,
    if (type != null) 'type': type,
  };
}