parseDynamicEdgeInsets function
Implementation
DynamicEdgeInsets? parseDynamicEdgeInsets(Map<String, dynamic>? map) {
if (map == null) return null;
Length? top = parseLength(map['top']);
Length? bottom = parseLength(map['bottom']);
Length? left = parseLength(map['left']);
Length? right = parseLength(map['right']);
return DynamicEdgeInsets.only(
top: top,
bottom: bottom,
left: left,
right: right,
);
}