File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,10 @@ class Video {
72
72
73
73
/// Creates a json map from a [Video] .
74
74
Map <String , dynamic > toJson () => _$VideoToJson (this );
75
+
76
+ /// Returns a string representation of this object.
77
+ @override
78
+ String toString () {
79
+ return 'Video{${toJson ().toString ()}' ;
80
+ }
75
81
}
Original file line number Diff line number Diff line change @@ -29,4 +29,10 @@ class VideoAssets {
29
29
30
30
/// Creates a json map from a [VideoAssets] .
31
31
Map <String , dynamic > toJson () => _$VideoAssetsToJson (this );
32
+
33
+ /// Returns a string representation of this object.
34
+ @override
35
+ String toString () {
36
+ return 'VideoAssets{${toJson ().toString ()}' ;
37
+ }
32
38
}
Original file line number Diff line number Diff line change @@ -22,4 +22,10 @@ class VideoSource {
22
22
23
23
/// Creates a json map from a [VideoSource] .
24
24
Map <String , dynamic > toJson () => _$VideoSourceToJson (this );
25
+
26
+ /// Returns a string representation of this object.
27
+ @override
28
+ String toString () {
29
+ return 'VideoSource{${toJson ().toString ()}' ;
30
+ }
25
31
}
You can’t perform that action at this time.
0 commit comments