getBindingProperty method

  1. @override
dynamic getBindingProperty(
  1. String key
)

Implementation

@override
getBindingProperty(String key) {
  switch (key) {
    case 'play': return _bindingPlay;
    case 'pause': return _bindingPause;
    case 'fastSeek': return _bindingFastSeek;
    case 'autoplay': return autoplay;
    case 'loop': return loop;
    case 'currentTime': return currentTime;
    case 'src': return src;
    case 'width': return videoWidth;
    case 'height': return videoHeight;
    default: return super.getBindingProperty(key);
  }
}