NiceComponentInfo class

Represents a component/class in the library.

Constructors

NiceComponentInfo({required String name, required String path, int estimatedSizeBytes = 0, Set<String> dependencies = const {}, Set<String> usedBy = const {}, bool isExported = false, bool isUsed = false})
const
NiceComponentInfo.fromJson(Map<String, dynamic> json)
factory

Properties

dependencies Set<String>
final
estimatedSizeBytes int
final
hashCode int
The hash code for this object.
no setterinherited
isExported bool
final
isUsed bool
final
name String
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usedBy Set<String>
final

Methods

copyWith({String? name, String? path, int? estimatedSizeBytes, Set<String>? dependencies, Set<String>? usedBy, bool? isExported, bool? isUsed}) NiceComponentInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited