NullableDateTimePick extension

on

Methods

asDateTimeOrNull({PickDateFormat? format}) DateTime?
Parses the picked value as ISO 8601 String to DateTime or returns null
asDateTimeOrThrow({PickDateFormat? format}) DateTime
Parses the picked value as ISO 8601 String to DateTime or throws