parseEdgeInsets function
Implementation
EdgeInsets? parseEdgeInsets(Map<String, dynamic>? map) {
if (map == null) return null;
double left = map["left"].toDouble();
double right = map["right"].toDouble();
double top = map["top"].toDouble();
double bottom = map["bottom"].toDouble();
return EdgeInsets.only(left: left, top: top, right: right, bottom: bottom);
}