HealthWarning class

An account whose credentials looked shaky when a post was published.

Constructors

HealthWarning({required String accountId, required String platform, required String healthStatus, required String message})
Creates a warning.
const
HealthWarning.fromJson(Map<String, dynamic> json)
Reads a warning off a publish response.
factory

Properties

accountId → String
The account the warning is about.
final
hashCode → int
The hash code for this object.
no setterinherited
healthStatus → String
One of AccountHealthStatus.
final
message → String
What is wrong.
final
platform → String
The account's network.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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