toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.users != null) {
json[r'users'] = this.users;
} else {
json[r'users'] = null;
}
json[r'total'] = this.total;
if (this.nextCursor != null) {
json[r'nextCursor'] = this.nextCursor;
} else {
json[r'nextCursor'] = null;
}
json[r'provider'] = this.provider;
return json;
}