Skip to content

Instantly share code, notes, and snippets.

View NishadAvnish's full-sized avatar
🎯
Focusing

Avnish Nishad NishadAvnish

🎯
Focusing
View GitHub Profile
mixin Activity{
void caloriesLeft(doble totalCalories,double burnedCalories){
return totalCalories-burnedCalories;
}
}
// our main class- this is just an example
// please make seperate file for mixin
class Person with Activity{
double totalCalories=200;