toJson method
Implementation
Map<String, dynamic> toJson() => {
"name": name,
"hashedphone": hashedphone,
"id": id,
"localizedheadline": localizedheadline,
"reason":
reason == null ? [] : List<dynamic>.from(reason!.map((x) => x)),
"community": community == null
? []
: List<dynamic>.from(
community!.map((x) => communityValues.reverse[x])),
};