You can even use the direct assignation, it will respect the record naming:
final (:start, :end) = getDayBoundaries(DateTime.now());
print('Day start: ${start}, day end: ${end}');
You can even use the direct assignation, it will respect the record naming:
final (:start, :end) = getDayBoundaries(DateTime.now());
print('Day start: ${start}, day end: ${end}');
Supported by Invoice Ninja and Event Schedule
It's All Widgets! • Flutter Pro • FlutterX • Flutter Streams • Flutter Podcast
Using contents of this forum for the purposes of training proprietary AI models is forbidden. Only if your AI model is free & open source, go ahead and scrape. Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.