PaymentFormTheme.fromJson constructor

PaymentFormTheme.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PaymentFormTheme.fromJson(Map<String, dynamic> json) => PaymentFormTheme(
  backgroundColor: json['background_color'],
  textColor: json['text_color'],
  hintColor: json['hint_color'],
  linkColor: json['link_color'],
  buttonColor: json['button_color'],
  buttonTextColor: json['button_text_color'],
);