Question class

Constructors

Question({required String id, required String author, required String name, required String text, required int at, required List<String> voters, required bool answered, required bool hidden})
const

Properties

answered → bool
final
at → int
final
author → String
final
hashCode → int
The hash code for this object.
no setterinherited
hidden → bool
final
id → String
author:localId: unique, and tied to the connection that asked.
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
final
voters → List<String>
final

Methods

copyWith({List<String>? voters, bool? answered, bool? hidden}) → Question
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object>
toString() → String
A string representation of this object.
inherited

Operators

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