LayoutModel.fromMap constructor

LayoutModel.fromMap(
  1. Map<String, dynamic> map
)

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'],
  );
}