toString method

  1. @override
String toString()
override

Returns all the properties of AlarmSettings for debug purposes.

Implementation

@override
String toString() {
  Map<String, dynamic> json = toJson();
  json['dateTime'] = DateTime.fromMicrosecondsSinceEpoch(json['dateTime']);

  return "AlarmSettings: ${json.toString()}";
}