borderSideFromJSON function
Implementation
BorderSide? borderSideFromJSON(ThemeData? theme, dynamic json,
[Color? defaultSideColor]) {
return json != null
? BorderSide(
color:
parseColor(theme, json['c'], defaultSideColor ?? Colors.black)!,
width: parseDouble(json['w'], 1)!,
strokeAlign: parseDouble(json['sa'], BorderSide.strokeAlignInside)!,
style: BorderStyle.solid)
: null;
}