getMap method
Internal method to convert SystemWindowDecoration to primitive dataTypes
Implementation
Map<String, dynamic> getMap() {
final Map<String, dynamic> map = <String, dynamic>{
'startColor':
startColor?.value.toSigned(32) ?? Colors.white.value.toSigned(32),
'endColor': endColor?.value.toSigned(32),
'borderWidth': borderWidth ?? 0,
'borderRadius': borderRadius ?? 0.0,
'borderColor':
borderColor?.value.toSigned(32) ?? Colors.white.value.toSigned(32)
};
return map;
}