BrickSearchResult class
Brick search result details from brickhub.dev.
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
- BrickSearchResult({required String name, required String description, required String publisher, required String version, required DateTime createdAt, required int downloads})
-
Brick search result details from brickhub.dev.
const
-
BrickSearchResult.fromJson(Map<
String, dynamic> json) -
Converts a Map to BrickSearchResult.
factory
Properties
- createdAt → DateTime
-
The date when the brick was created.
final
- description → String
-
The brick description.
final
- downloads → int
-
The number of times the brick has been downloaded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the brick.
final
- publisher → String
-
The email of the brick publisher.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
The latest published version of the brick.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited