toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'custom'] = this.custom;
    json[r'image'] = this.image;
    json[r'name'] = this.name;
    json[r'roles'] = this.roles;
  return json;
}