Advertisement
joaopaulofcc

Untitled

Sep 25th, 2020
1,492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.28 KB | None | 0 0
  1. class Produto {
  2.   final String nome;
  3.   final int quantidade;
  4.   final double valor;
  5.  
  6.   Produto(
  7.     this.nome,
  8.     this.quantidade,
  9.     this.valor,
  10.   );
  11.  
  12.   @override
  13.   String toString() {
  14.     return 'Produto{nome: $nome,quantidade: $quantidade, valor: $valor} ';
  15.   }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement