validate method

  1. @override
void validate()
override

Implementation

@override
void validate() {
  if (columnsCount == null) {
    throw new ApiException(
        400, 'Property ColumnsCount in TableInsert is required.');
  }
  if (rowsCount == null) {
    throw new ApiException(
        400, 'Property RowsCount in TableInsert is required.');
  }

  position?.validate();
}