toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'id': id,
'name': name,
'phone': phone,
'language': language,
'subscriptions': subscriptions,
'verified': verified,
'ver_code': ver_code,
'ver_expire_time': ver_expire_time != null
? ver_expire_time!.toIso8601String()
: ver_expire_time,
'custom_hdr': custom_hdr,
'custom_dat': custom_dat
};
}