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.
28 lines
586 B
28 lines
586 B
2 years ago
|
import 'dart:convert';
|
||
|
|
||
|
SendNumber sendNumberFromJson(String str) => SendNumber.fromJson(json.decode(str));
|
||
|
|
||
|
String sendNumberToJson(SendNumber data) => json.encode(data.toJson());
|
||
|
|
||
|
class SendNumber {
|
||
|
SendNumber({
|
||
|
this.sendNumber,
|
||
|
this.createdAt,
|
||
|
});
|
||
|
|
||
|
SendNumber.fromJson(dynamic json) {
|
||
|
sendNumber = json['sendNumber'];
|
||
|
createdAt = json['createdAt'];
|
||
|
}
|
||
|
|
||
|
String? sendNumber;
|
||
|
String? createdAt;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['sendNumber'] = sendNumber;
|
||
|
map['createdAt'] = createdAt;
|
||
|
return map;
|
||
|
}
|
||
|
}
|