FileDeclaration class

Annotations
  • @freezed

Constructors

FileDeclaration({@JsonKey.new(name: "fileName") required String name, required String path, required String id, @JsonKey.new(defaultValue: <SchemaTypeDefinition>[]) required List<SchemaTypeDefinition> types, @JsonKey.new(defaultValue: <String>[]) required List<String> imports})
const
factory
FileDeclaration.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $FileDeclarationCopyWith<FileDeclaration>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
imports List<String>
no setterinherited
name String
no setterinherited
path String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<SchemaTypeDefinition>
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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