toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (benefits != null) 'benefits': benefits!,
      if (description != null) 'description': description!,
      if (title != null) 'title': title!,
    };