toJson method
Implementation
Map<String, dynamic> toJson() => {
"gold": gold,
"blue": blue,
"silver": silver,
"black": black,
"vertical": vertical,
"horizontal": horizontal,
"pill": pill,
"rect": rect,
"responsive": responsive,
"small": small,
"medium": medium,
"large": large,
"Flat rate": flatRate?.toJson(),
"Free shipping": freeShipping?.toJson(),
"Local pickup": localPickup?.toJson(),
"live": live,
"sandbox": sandbox,
"Billing": billing,
"Login": login,
"dark": dark,
"light": light,
"light-outline": lightOutline,
"default": optionsDefault,
"buy": buy,
"donate": donate,
"sale": sale,
"authorization": authorization,
"add": add,
"drop": drop,
};