MFCardViewInput.fromJson constructor

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

Implementation

MFCardViewInput.fromJson(Map<String, dynamic> json) {
  color = json['color'];
  fontSize = json['fontSize'];
  fontFamily = json['fontFamily'];
  inputHeight = json['inputHeight'];
  inputMargin = json['inputMargin'];
  borderColor = json['borderColor'];
  borderWidth = json['borderWidth'];
  borderRadius = json['borderRadius'];
  boxShadow = json['boxShadow'] != null
      ? MFBoxShadow.fromJson(json['boxShadow'])
      : null;
  placeHolder = json['placeHolder'] != null
      ? MFCardViewPlaceHolder.fromJson(json['placeHolder'])
      : null;
}