operator - method Null safety

int operator -(
  1. dynamic other
)

Implementation

int operator -(other) => (value - other).toInt();