toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (name != null) 'name': name!,
      if (termsPair != null) 'termsPair': termsPair!,
      if (termsSet != null) 'termsSet': termsSet!,
    };