toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'action': action,
      'message': message,
      'at': at.toIso8601String(),
    };