serialize method

Map<String, String> serialize()

Implementation

Map<String, String> serialize() {
  return <String, String>{
    "name": this.name,
    "title": this.title,
    "isActive": this.isActive.toString(),
  };
}