Library constructor Null safety

Library(
  1. {String? name,
  2. String? uri,
  3. bool? debuggable,
  4. List<LibraryDependency>? dependencies,
  5. List<ScriptRef>? scripts,
  6. List<FieldRef>? variables,
  7. List<FuncRef>? functions,
  8. List<ClassRef>? classes,
  9. required String id}
)

Implementation

Library({
  this.name,
  this.uri,
  this.debuggable,
  this.dependencies,
  this.scripts,
  this.variables,
  this.functions,
  this.classes,
  required String id,
}) : super(
        id: id,
      );