toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final blacklist = this.blacklist;
  return {
    if (blacklist != null) 'Blacklist': blacklist,
  };
}