toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'imagePath': imagePath,
    if (appLink != null) 'appLink': appLink,
    if (title != null) 'title': title,
    if (description != null) 'description': description,
  };
}