toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final apiDisabled = this.apiDisabled;
  final customRolesSupportLevel = this.customRolesSupportLevel;
  final description = this.description;
  final name = this.name;
  final onlyInPredefinedRoles = this.onlyInPredefinedRoles;
  final primaryPermission = this.primaryPermission;
  final stage = this.stage;
  final title = this.title;
  return {
    'apiDisabled': ?apiDisabled,
    'customRolesSupportLevel': ?customRolesSupportLevel,
    'description': ?description,
    'name': ?name,
    'onlyInPredefinedRoles': ?onlyInPredefinedRoles,
    'primaryPermission': ?primaryPermission,
    'stage': ?stage,
    'title': ?title,
  };
}