ImportableType.record constructor

const ImportableType.record({
  1. required String name,
  2. String? import,
  3. bool isNullable = false,
  4. List<ImportableType> typeArguments = const [],
  5. String? nameInRecord,
  6. Set<String>? otherImports,
})

Implementation

const ImportableType.record({
  required this.name,
  this.import,
  this.isNullable = false,
  this.typeArguments = const [],
  this.nameInRecord,
  this.otherImports,
}) : _isRecordType = true;