decode static method

Implementation

static ManagedApiFetchOptionsPigeon decode(Object result) {
  result as List<Object?>;
  return ManagedApiFetchOptionsPigeon(
    method: result[0]! as String,
    headers: (result[1] as Map<Object?, Object?>?)!.cast<String?, String?>(),
    body: result[2] as String?,
    prompt: result[3]! as AuthPromptPigeon,
  );
}