toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (id != null) {
    _json[r'id'] = id;
  }
  if (sysAdminOnly != null) {
    _json[r'sysAdminOnly'] = sysAdminOnly;
  }
  if (teamAdminOnly != null) {
    _json[r'teamAdminOnly'] = teamAdminOnly;
  }
  if (action != null) {
    _json[r'action'] = action;
  }
  if (actionParam != null) {
    _json[r'actionParam'] = actionParam;
  }
  if (actionText != null) {
    _json[r'actionText'] = actionText;
  }
  if (description != null) {
    _json[r'description'] = description;
  }
  if (image != null) {
    _json[r'image'] = image;
  }
  if (title != null) {
    _json[r'title'] = title;
  }
  return _json;
}