toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('svg')) {
    final l$svg = svg;
    result$data['svg'] = l$svg?.toJson();
  }
  if (_$data.containsKey('png')) {
    final l$png = png;
    result$data['png'] = l$png?.toJson();
  }
  if (_$data.containsKey('icon')) {
    final l$icon = icon;
    result$data['icon'] = l$icon;
  }
  return result$data;
}