toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    ...super.toMap(),
    ...{
      "tpObjeto": "2",
      "comprimento": "$comprimento",
      "largura": "$largura",
      "altura": "$altura"
    }
  };
}