toString method

  1. @override
String toString()
override

String representation of the instance.

Implementation

@override
String toString() {
  return 'VideoInfo{height: $height, width: $width, duration: $duration}';
}