Plan class Null safety

Constructors

Plan(Day? day, List<Substitution> subs, String date, String url, String previewUrl, Uint8List? preview)
Plan.fromJson(Map<String, dynamic> json)

Properties

date String
read / write
day Day?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
preview Uint8List?
read / write
previewUrl String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subs List<Substitution>
read / write
url String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString([bool inclUrls = true]) String
A string representation of this object. [...]
override

Operators

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

Static Methods

plansFromJson(dynamic plans) List<Plan>
plansFromJsonString(String plans) List<Plan>
plansToJson(List<Plan> plans) List
plansToJsonString(List<Plan> plans) String
searchInPlans(List<Plan> plans, bool predicate(Substitution)) List<Plan>