operator - method

BorderRadiusDirectional operator - (BorderRadiusDirectional other)

Returns the difference between two BorderRadiusDirectional objects.

Implementation

BorderRadiusDirectional operator -(BorderRadiusDirectional other) {
  return BorderRadiusDirectional.only(
    topStart: topStart - other.topStart,
    topEnd: topEnd - other.topEnd,
    bottomStart: bottomStart - other.bottomStart,
    bottomEnd: bottomEnd - other.bottomEnd,
  );
}