toModel method
Implementation
Map<String, Object?> toModel() {
return {
'title': title,
'subtitle': subtitle,
'body': body,
'loc-key': locKey,
'loc-args': locArgs,
'title-loc-key': titleLocKey,
'title-loc-args': titleLocArgs,
'subtitle-loc-key': subtitleLocKey,
'subtitle-loc-args': subtitleLocArgs,
'action-loc-key': actionLocKey,
'launch-image': launchImage,
}.cleanBools();
}