Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Produto {
- final String nome;
- final int quantidade;
- final double valor;
- Produto(
- this.nome,
- this.quantidade,
- this.valor,
- );
- @override
- String toString() {
- return 'Produto{nome: $nome,quantidade: $quantidade, valor: $valor} ';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement