operator unary- method
- @override
override
Returns the BorderRadiusDirectional object with each corner negated.
This is the same as multiplying the object by -1.0.
Implementation
@override
BorderRadiusDirectional operator -() {
return BorderRadiusDirectional.only(
topStart: -topStart,
topEnd: -topEnd,
bottomStart: -bottomStart,
bottomEnd: -bottomEnd,
);
}