toObject method
dynamic
toObject()
override
Implementation
toObject() {
return {
'uri': uri,
'id': id,
'name': name,
'description': description,
'duration': (duration != null) ? duration!.inMilliseconds : null,
'skipDelay': (skipDelay != null) ? skipDelay!.inMilliseconds : null,
'isSkippable': isSkippable,
'type': enumToString(this.type),
};
}