toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "key": key,
    "type": type,
    "status": status,
    "error": error,
    "attributes": attributes,
    "orders": orders,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
  };
}