fromMap static method
- Map<
String, dynamic> ? map, { - EnumMethod? enumMethod,
Gets a possible InAppWebViewRect instance from a Map value.
Implementation
static InAppWebViewRect? fromMap(
Map<String, dynamic>? map, {
EnumMethod? enumMethod,
}) {
if (map == null) {
return null;
}
final instance = InAppWebViewRect(
height: map['height'],
width: map['width'],
x: map['x'],
y: map['y'],
);
return instance;
}