AIOWidget class

Annotations
  • @freezed

Constructors

AIOWidget.new({@JsonKey(name: 'title', required: true) required String title, @JsonKey(name: 'description', required: true) required String description, @JsonKey(name: 'cards', required: true) required List<AIOCard> cards})
const
factory
AIOWidget.fromJson(Map<String, Object?> json)
factory

Properties

cards List<AIOCard>
The cards of the widget
no setterinherited
copyWith → $AIOWidgetCopyWith<AIOWidget>
Create a copy of AIOWidget with the given fields replaced by the non-null parameter values.
no setterinherited
description String
The description of the widget
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title of the widget
no setterinherited

Methods

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

Operators

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