You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
637 B

import 'package:teso/Classes/API%20Clasess/TesoUserDetail.dart';
import 'package:teso/Classes/API%20Clasess/UserAuth.dart';
class Registrar {
UserAuth authentication;
TesoUserDetail user;
String referral;
Registrar({
this.authentication,
this.user,
this.referral,
});
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['user'] = this.user;
data['authentication'] = this.authentication;
data['referral'] = this.referral;
return data;
}
@override
String toString() {
return '{"user": "$user", "authentication": "$authentication"}';
}
}