toJson method
Implementation
Map<String, dynamic> toJson() => {
"acronym": acronym == null ? null : acronym,
"name": name == null ? null : name,
"otherAcronyms": otherAcronyms == null
? null
: List<dynamic>.from(otherAcronyms!.map((x) => x)),
"otherNames": otherNames == null
? null
: List<dynamic>.from(otherNames!.map((x) => x)),
};