ParseMessage constructor

ParseMessage(
  1. String statement, {
  2. String statementName = '',
  3. @Deprecated('Use typeOids instead. Will be removed soon.') List<Type<Object>?>? types,
  4. List<int?>? typeOids,
})

Implementation

ParseMessage(
  String statement, {
  String statementName = '',
  @Deprecated('Use typeOids instead. Will be removed soon.')
  List<Type?>? types,
  List<int?>? typeOids,
})  : _statement = statement,
      _statementName = statementName,
      _typeOids = typeOids ?? types?.map((e) => e?.oid).toList() ?? const [];