fromMap static method
Gets a possible ContextMenuItem instance from a Map value.
Implementation
static ContextMenuItem? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = ContextMenuItem(
androidId: map['id'],
id: map['id'],
iosId: map['id'],
title: map['title'],
);
return instance;
}