toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    if (standard != null) 'standard': standard,
    if (fixed != null) 'fixed': fixed,
    if (serif != null) 'serif': serif,
    if (sansSerif != null) 'sansSerif': sansSerif,
    if (cursive != null) 'cursive': cursive,
    if (fantasy != null) 'fantasy': fantasy,
    if (math != null) 'math': math,
  };
}