toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boolValue != null) 'boolValue': boolValue!,
      if (comparator != null) 'comparator': comparator!,
      if (intValue != null) 'intValue': intValue!,
      if (key != null) 'key': key!,
      if (stringValue != null) 'stringValue': stringValue!,
    };