parseUTC method
- String inputString
Given user input, attempt to parse the inputString
into the anticipated
format, treating it as being in UTC.
If inputString
does not match our format, throws a FormatException.
The canonical Dart style name is parseUtc, but parseUTC is retained for backward-compatibility.
Implementation
DateTime parseUTC(String inputString) => parse(inputString, true);