CheckoutSettings.fromMap constructor

CheckoutSettings.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory CheckoutSettings.fromMap(Map<String, dynamic> json) => CheckoutSettings(
  useBrandLogo: json["useBrandLogo"],
  buttonTextColor: json["buttonTextColor"],
  buttonColor: json["buttonColor"],
  fontColor: json["fontColor"],
  fontFamily: json["fontFamily"],
  backgroundColor: json["backgroundColor"],
  backgroundTextColor: json["backgroundTextColor"],
);