canPlayType property

CanPlayTypeResult Function(String) canPlayType

Implementation

_i3.CanPlayTypeResult Function(_i2.String) get canPlayType =>
    (_i2.String p0) =>
        _i3.CanPlayTypeResultOptions.values.byName(_i4.callMethod(
          _i4.getProperty(
            this,
            'canPlayType',
          ),
          r'call',
          [
            this,
            p0,
          ],
        ));
void canPlayType=(CanPlayTypeResult value(String))

Implementation

set canPlayType(_i3.CanPlayTypeResult Function(_i2.String) value) {
  _i4.setProperty(
    this,
    'canPlayType',
    _i4.allowInterop((p0) => () => value(p0).name),
  );
}