WebIcon.fromJson constructor

WebIcon.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory WebIcon.fromJson(Map<String, Object?> json) => WebIcon(
  href: json['href'] as String,
  rel: json['rel'] as String? ?? 'icon',
  type: json['type'] as String?,
  sizes: json['sizes'] as String?,
);