I have trouble with integer division in Dart as it gives me error: \'Breaking on exception: type \'double\' is not a subtype of type \'int\' of \'c\'.\'
Her
Integer division is
c = a ~/ b;
you could also use
c = (a / b).floor(); c = (a / b).ceil();
if you want to define how fractions should be handled.