toString method

  1. @override
String toString()
override

Returns all the properties of AlarmSettings for debug purposes.

Implementation

@override
String toString() {
  final json = toJson();
  json['dateTime'] =
      DateTime.fromMicrosecondsSinceEpoch(json['dateTime'] as int);

  return 'AlarmSettings: $json';
}