parseToString method
Implementation
String parseToString() {
final DateFormat formatter = DateFormat('yyyy-MM-ddTHH:mm:ss');
final String text = formatter.format(subtract(timeZoneOffset));
return '${text}Z';
}
String parseToString() {
final DateFormat formatter = DateFormat('yyyy-MM-ddTHH:mm:ss');
final String text = formatter.format(subtract(timeZoneOffset));
return '${text}Z';
}