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