toMap method

Map<String, String?> toMap()

Implementation

Map<String, String?> toMap() {
  final Map<String, String?> map = {};
  map['title'] = title;
  map['body'] = body;
  map['color'] = color;
  map['sound'] = sound;
  map['image'] = image;
  return map;
}