decode static method

Implementation

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