(day, month, year) {
DateTime _birthdate = DateTime.utc(year, month, day);
print('generated date time $_birthdate');
}
This function has a return type of 'String', but doesn't end with a return statement.
Try adding a return statement, or changing the return type to 'void'.dart(missing_return)
The argument type 'String Function(int, int, int)' can't be assigned to the parameter type 'String Function(int, int, int, bool)'.dart(argument_type_not_assignable)
(day, month, year) {
DateTime _birthdate = DateTime.utc(year, month, day);
print('generated date time $_birthdate');
}
This function has a return type of 'String', but doesn't end with a return statement.
Try adding a return statement, or changing the return type to 'void'.dart(missing_return)
The argument type 'String Function(int, int, int)' can't be assigned to the parameter type 'String Function(int, int, int, bool)'.dart(argument_type_not_assignable)