Library constructor Null safety

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

Implementation

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