toString method

  1. @override
String toString()
override

Returns a string representing the date in ISO 8601 format, YYYY-MM-DD.

Return Value: A String.

Implementation

@override
String toString() {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_DateOnly_toString(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}