toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (axes != null) 'axes': axes!,
      if (category != null) 'category': category!,
      if (colorCapabilities != null) 'colorCapabilities': colorCapabilities!,
      if (family != null) 'family': family!,
      if (files != null) 'files': files!,
      if (kind != null) 'kind': kind!,
      if (lastModified != null) 'lastModified': lastModified!,
      if (menu != null) 'menu': menu!,
      if (subsets != null) 'subsets': subsets!,
      if (variants != null) 'variants': variants!,
      if (version != null) 'version': version!,
    };