toMap method
Implementation
Map<String, Object?> toMap() => <String, Object?>{
if (locale != null) 'locale': locale,
if (title != null) 'title': title,
if (subtitle != null) 'subtitle': subtitle,
if (appearance != null) 'appearance': appearance,
if (platform != null) 'platform': platform,
if (reduceMotion != null) 'reduceMotion': reduceMotion,
if (view != null) 'view': view,
if (articleId != null) 'articleId': articleId,
if (context != null) 'context': context,
if (hostActionIds != null) 'hostActionIds': hostActionIds,
};