Script constructor Null safety

Script(
  1. {String? uri,
  2. LibraryRef? library,
  3. required String id,
  4. int? lineOffset,
  5. int? columnOffset,
  6. String? source,
  7. List<List<int>>? tokenPosTable}
)

Implementation

Script({
  this.uri,
  this.library,
  required String id,
  this.lineOffset,
  this.columnOffset,
  this.source,
  this.tokenPosTable,
}) : super(
        id: id,
      );