MFCardViewLabel.fromJson constructor

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

Implementation

MFCardViewLabel.fromJson(Map<String, dynamic> json) {
  display = json['display'];
  color = json['color'];
  fontSize = json['fontSize'];
  fontWeight = json['fontWeight'];
  fontFamily = json['fontFamily'];
  text = json['text'] != null ? MFCardViewText.fromJson(json['text']) : null;
}