toJson method

String toJson()

Implementation

String toJson() {
  return json.encode({
    if(originalName!=null && originalName!.isNotEmpty) 'originalName': originalName!,
    if(rtlAutoMirrored) 'rtlAutoMirrored': rtlAutoMirrored,
    'popularity': popularity,
    'codepoint': codepoint,
    'categories': categories,
    'tags': tags,
  });
}