addParaButton method

Map<String, dynamic> addParaButton(
  1. String name,
  2. DocutainButton docutainButton
)

Implementation

Map<String, dynamic> addParaButton(
    String name, DocutainButton docutainButton) {
  var dataToPass = <String, dynamic>{
    '${name}_title': docutainButton.title,
    '${name}_icon': docutainButton.icon
  };
  return dataToPass;
}