LearningTopic class
A learning topic is a collection of LearningResource.
A learning topic is usually a question. now-u then offers an answer to this question (_ourAnswer). We then provide a collection of LearningResource which the user can use to find out more information about this topic.
Constructors
- LearningTopic.fromJson(Map json)
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → int
-
Api id
final
- imageLink → String
-
Link for header image for this topic
final
- ourAnswer → String
-
Our answer to the topic question
final
-
resources
→ List<
LearningResource> -
The additional resources associated with this topic
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- title → String
-
The title of a the topic, usually a question
final
Methods
-
containsNew(
) → bool - Returns true if the topic has some new resources in it
-
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