toJson method

Map<String, dynamic> toJson()

Implementation

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