ShippingLines.fromJson(Map<String, dynamic> json) { methodId = json['method_id']; methodTitle = json['method_title']; total = json['total']; }