toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.blockedByUser != null) {
json[r'blocked_by_user'] = this.blockedByUser;
} else {
json[r'blocked_by_user'] = null;
}
json[r'call_cid'] = this.callCid;
json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
json[r'type'] = this.type;
json[r'user'] = this.user;
return json;
}