parse static method

Instant parse(
  1. String text
)

Implementation

static Instant parse(String text) => tryParse(text) ?? (throw FormatException('not an ISO instant', text));