fromMap static method

AjaxRequestEvent? fromMap(
  1. Map<String, dynamic>? map
)

Implementation

static AjaxRequestEvent? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }

  return AjaxRequestEvent(
      type: AjaxRequestEventType.fromValue(map["type"]),
      lengthComputable: map["lengthComputable"],
      loaded: map["loaded"],
      total: map["total"]);
}