decode static method
Implementation
static OWRequestResponse decode(Object result) {
result as List<Object?>;
return OWRequestResponse(
headers: (result[0] as Map<Object?, Object?>?)!.cast<String?, String?>(),
body: result[1]! as String,
ok: result[2]! as bool,
status: result[3]! as int,
);
}