toJson method

Map<String, dynamic> toJson()

Converts instance of Customization to json

Implementation

Map<String, dynamic> toJson() {
  final customization = {
    "title": this.title != null ? this.title : "",
    "description": this.description != null ? this.description : "",
    "logo": this.logo != null ? this.logo : ""
  };
  return Utils.removeKeysWithEmptyValues(customization);
}