ParseMessage constructor

ParseMessage(
  1. String statement, {
  2. String statementName = '',
  3. List<PgDataType<Object>?>? types,
  4. required Encoding encoding,
})

Implementation

ParseMessage(
  String statement, {
  String statementName = '',
  List<PgDataType?>? types,
  required Encoding encoding,
})  : _statement = EncodedString(statement, encoding),
      _statementName = EncodedString(statementName, encoding),
      _types = types ?? const [];