parse static method
The function parses a subset of ISO 8601 which includes the subset accepted by RFC 3339.
Compare to DateTime.parse, it supports nanoseconds resolution
Implementation
static Timestamp parse(String text) {
var timestamp = tryParse(text);
if (timestamp == null) {
throw FormatException('timestamp $text');
}
return timestamp;
}