toJson method
Implementation
@override
String? toJson(ButtonBarLayoutBehavior? value) {
if (value == null) return null;
switch (value) {
case ButtonBarLayoutBehavior.constrained:
return 'constrained';
break;
case ButtonBarLayoutBehavior.padded:
return 'padded';
break;
}
throw 'Json_Unsuported_Value';
}