toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'names': names,
      if (negate != null) 'negate': negate,
    };