$parse static method
Implementation
static $Value? $parse(Runtime runtime, $Value? target, List<$Value?> args) {
final formattedString = args[0]!.$value as String;
try {
return $DateTime.wrap(DateTime.parse(formattedString));
} on FormatException catch (e) {
runtime.$throw($FormatException.wrap(e));
}
}