parse static method
Parse from formattedString
and convert to ModelTimestamp.
If the conversion fails, a FormatException is raised.
formattedString
からパースしてModelTimestampに変換します。
変換に失敗した場合はFormatExceptionが発生します。
Implementation
static ModelTimestamp parse(String formattedString) {
final dateTime = DateTime.parse(formattedString);
return ModelTimestamp(dateTime);
}