toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var icon = this.icon;
  var resolved = this.resolved;

  final json = <String, Object?>{};
  if (icon != null) {
    json[r'icon'] = icon.toJson();
  }
  json[r'resolved'] = resolved;
  return json;
}