decode static method

AndroidVideoOptions decode(
  1. Object result
)

Implementation

static AndroidVideoOptions decode(Object result) {
  result as List<Object?>;
  return AndroidVideoOptions(
    bitrate: result[0] as int?,
    fallbackStrategy: result[1] != null
        ? QualityFallbackStrategy.values[result[1]! as int]
        : null,
  );
}