Product copy(Product source) => Product.fromJson( jsonDecode(jsonEncode(source.toJson())) as Map<String, dynamic>, );