toEdgeInsets method
Implementation
EdgeInsets toEdgeInsets() {
return EdgeInsets.only(
top: top.toExtent(isDimension: false) ?? 0,
right: right.toExtent(isDimension: false) ?? 0,
bottom: bottom.toExtent(isDimension: false) ?? 0,
left: left.toExtent(isDimension: false) ?? 0,
);
}