format property

String Function(num, RelativeTimeFormatUnit) get format

Implementation

_i2.String Function(
  _i2.num,
  _i3.RelativeTimeFormatUnit,
) get format => (
      _i2.num p0,
      _i3.RelativeTimeFormatUnit p1,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'format',
          ),
          r'call',
          [
            this,
            p0,
            p1.name,
          ],
        );
set format (String value(num, RelativeTimeFormatUnit))

Implementation

set format(
    _i2.String Function(
      _i2.num,
      _i3.RelativeTimeFormatUnit,
    ) value) {
  _i5.setProperty(
    this,
    'format',
    _i5.allowInterop(value),
  );
}