processInsert method

  1. @override
Future<RemoteDto> processInsert()
override

Implementation

@override
Future<RemoteDto> processInsert() async {
  if (tableTransactions.getTrDto().id !=
      null) throw IllegalStateException("Id must be null.");
  tableTransactions.setCrc(tableTransactions.getJoinCrcString());
  return await super.writeAdd();
}