toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (crossReaction != null) 'crossReaction': crossReaction!,
      if (family != null) 'family': family!,
      if (picture != null) 'picture': picture!,
      if (pictureCloseup != null) 'pictureCloseup': pictureCloseup!,
      if (season != null) 'season': season!,
      if (specialColors != null) 'specialColors': specialColors!,
      if (specialShapes != null) 'specialShapes': specialShapes!,
      if (type != null) 'type': type!,
    };