fromMap static method
Gets a possible ChromeSafariBrowserMenuItem instance from a Map value.
Implementation
static ChromeSafariBrowserMenuItem? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = ChromeSafariBrowserMenuItem(
id: map['id'],
image: UIImage.fromMap(map['image']?.cast<String, dynamic>()),
label: map['label'],
);
return instance;
}