toMap method
Returns a Map representation of this SizeConstraint object, with keys corresponding to the property names.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'minWidth': minWidth,
'maxWidth': maxWidth,
'minHeight': minHeight,
'maxHeight': maxHeight,
'ignoreSize': ignoreSize,
};
}