MFCardViewStyle.fromJson constructor

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

Implementation

MFCardViewStyle.fromJson(Map<String, dynamic> json) {
  hideCardIcons = json['hideCardIcons'];
  direction = json['direction'];
  cardHeight = json['cardHeight'];
  input =
      json['input'] != null ? MFCardViewInput.fromJson(json['input']) : null;
  label =
      json['label'] != null ? MFCardViewLabel.fromJson(json['label']) : null;
  error =
      json['error'] != null ? MFCardViewError.fromJson(json['error']) : null;
}