formatToParts property

List<Object> Function(num, RelativeTimeFormatUnit) get formatToParts

Implementation

_i2.List<_i2.Object> Function(
  _i2.num,
  _i3.RelativeTimeFormatUnit,
) get formatToParts => (
      _i2.num p0,
      _i3.RelativeTimeFormatUnit p1,
    ) =>
        ((_i5.callMethod(
          _i5.getProperty(
            this,
            'formatToParts',
          ),
          r'call',
          [
            this,
            p0,
            p1.name,
          ],
        )) as _i2.List)
            .cast();
set formatToParts (List<Object> value(num, RelativeTimeFormatUnit))

Implementation

set formatToParts(
    _i2.List<_i2.Object> Function(
      _i2.num,
      _i3.RelativeTimeFormatUnit,
    ) value) {
  _i5.setProperty(
    this,
    'formatToParts',
    _i5.allowInterop(value),
  );
}