TitleOptions.fromJson constructor
TitleOptions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TitleOptions.fromJson(Map<String, dynamic> json) => TitleOptions(
gold: json["gold"] == null ? null : json["gold"],
blue: json["blue"] == null ? null : json["blue"],
silver: json["silver"] == null ? null : json["silver"],
black: json["black"] == null ? null : json["black"],
vertical: json["vertical"] == null ? null : json["vertical"],
horizontal: json["horizontal"] == null ? null : json["horizontal"],
pill: json["pill"] == null ? null : json["pill"],
rect: json["rect"] == null ? null : json["rect"],
responsive: json["responsive"] == null ? null : json["responsive"],
small: json["small"] == null ? null : json["small"],
medium: json["medium"] == null ? null : json["medium"],
large: json["large"] == null ? null : json["large"],
flatRate: json["Flat rate"] == null
? null
: FlatRate.fromJson(json["Flat rate"]),
freeShipping: json["Free shipping"] == null
? null
: FreeShipping.fromJson(json["Free shipping"]),
localPickup: json["Local pickup"] == null
? null
: LocalPickup.fromJson(json["Local pickup"]),
live: json["live"] == null ? null : json["live"],
sandbox: json["sandbox"] == null ? null : json["sandbox"],
billing: json["Billing"] == null ? null : json["Billing"],
login: json["Login"] == null ? null : json["Login"],
dark: json["dark"] == null ? null : json["dark"],
light: json["light"] == null ? null : json["light"],
lightOutline:
json["light-outline"] == null ? null : json["light-outline"],
optionsDefault: json["default"] == null ? null : json["default"],
buy: json["buy"] == null ? null : json["buy"],
donate: json["donate"] == null ? null : json["donate"],
sale: json["sale"] == null ? null : json["sale"],
authorization:
json["authorization"] == null ? null : json["authorization"],
add: json["add"] == null ? null : json["add"],
drop: json["drop"] == null ? null : json["drop"],
);