getWeeks method
Implementation
@override
String getWeeks(int weeks) {
if (weeks == 0) {
return '';
} else if (weeks == 1) {
return 'one week';
} else if (weeks == 2) {
return 'two weeks';
} else {
return '$weeks weeks';
}
}