LayoutModel.fromMap constructor
Implementation
factory LayoutModel.fromMap(Map<String, dynamic> map) {
return LayoutModel(
layoutType: map['layoutType'],
cardShadowOpacity: map['cardShadowOpacity'],
cardRoundedSize: map['cardRoundedSize'],
buttonColor: map['buttonColor'],
buttonTextColor: map['buttonTextColor'],
buttonRoundedSize: map['buttonRoundedSize'],
buttonShadow: map['buttonShadow'],
);
}