tryParse static method

Moment? tryParse(
  1. String input, {
  2. MomentLocalization? localization,
})
override

Implementation

static Moment? tryParse(String input, {MomentLocalization? localization}) =>
    DateTime.tryParse(input)?.toMoment(localization: localization);