fromMap static method

Favicon? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible Favicon instance from a Map value.

Implementation

static Favicon? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = Favicon(
    height: map['height'],
    rel: map['rel'],
    url: WebUri(map['url']),
    width: map['width'],
  );
  return instance;
}