toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final action = this.action;
  final role = this.role;
  final sendNotification = this.sendNotification;
  final view = this.view;
  return {
    'action': ?action,
    'role': ?role,
    'sendNotification': ?sendNotification,
    'view': ?view,
  };
}