toMap method

Map<String, dynamic> toMap()

Map representation of object (not serialized)

Implementation

Map<String, dynamic> toMap() {
  return {
    'in_progress': inProgress,
    'completed': completed,
    'failed': failed,
    'cancelled': cancelled,
    'total': total,
  };
}