toMap method Null safety
Implementation
Map<String, dynamic> toMap() {
// ignore: unnecessary_cast
return {
'stream': this.stream,
'track': this.track,
'mid': this.mid,
'flowing': this.flowing,
} as Map<String, dynamic>;
}
Map<String, dynamic> toMap() {
// ignore: unnecessary_cast
return {
'stream': this.stream,
'track': this.track,
'mid': this.mid,
'flowing': this.flowing,
} as Map<String, dynamic>;
}