AlarmInfo class

A model containing information about an alarm.

Constructors

AlarmInfo({required int id, required String title, required String content})
A model containing information about an alarm.
const
AlarmInfo.fromJson(Map<String, dynamic> json)
Creates an AlarmInfo from a JSON object.
factory

Properties

content String
The content of the alarm.
final
hashCode int
The hash code for this object.
no setterinherited
id int
The unique identifier of the alarm.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title of the alarm.
final

Methods

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

Operators

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