toMap method

  1. @override
Map<String, Object?> toMap()
override

Implementation

@override
Map<String, Object?> toMap() {
  return {
    if (icons != null) 'icons': icons!.map((e) => e.toMap()).toList(),
    'name': name,
    if (description != null) 'description': description,
    if (title != null) 'title': title,
    if (version != null) 'version': version,
    if (websiteUrl != null) 'websiteUrl': websiteUrl,
  };
}