fromMap static method
Gets a possible AjaxRequestEvent instance from a Map value.
Implementation
static AjaxRequestEvent? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = AjaxRequestEvent(
lengthComputable: map['lengthComputable'],
loaded: map['loaded'],
total: map['total'],
type: AjaxRequestEventType.fromNativeValue(map['type']),
);
return instance;
}