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.
pharmacy/lib/models/chatconversation_model.dart

22 lines
675 B

import 'dart:convert';
List<GetCoversatitonIdModel> listdadFromJson(String str) => List<GetCoversatitonIdModel >.from(json.decode(str).map((x) => GetCoversatitonIdModel .fromJson(x)));
String listdadToJson(List<GetCoversatitonIdModel > data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));
class GetCoversatitonIdModel {
String ? conversation_id;
GetCoversatitonIdModel ({
required this.conversation_id,
});
factory GetCoversatitonIdModel .fromJson(Map<String, dynamic> json) => GetCoversatitonIdModel (
conversation_id: json["conversation_id"],
);
Map<String, dynamic> toJson() => {
"conversation_id": conversation_id,
};
}