toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "inAppType": this.inAppType.toString().split(".")[1],
    "templateId": this.templateId,
    "batch": this.batch
  };
}