toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'_elementId': _elementId,
'text': text,
'detailText': detailText,
'onPress': onPress != null ? true : false,
'image': image,
'imageTint': imageTint?.toJson(),
'accessoryImage': accessoryImage,
'trailingImage': trailingImage,
'trailingImageTint': trailingImageTint?.toJson(),
'playbackProgress': playbackProgress,
'isPlaying': isPlaying,
'playingIndicatorLocation': playingIndicatorLocation?.name,
'accessoryType': accessoryType?.name,
'runtimeType': 'FCPListItem',
};