toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final id = this.id;
final name = this.name;
final orderInPage = this.orderInPage;
final productId = this.productId;
return {
'id': ?id,
'name': ?name,
'orderInPage': ?orderInPage,
'productId': ?productId,
};
}