toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var permissions = this.permissions;

  final json = <String, Object?>{};
  if (permissions != null) {
    json[r'permissions'] = permissions;
  }
  return json;
}