GroupRole class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

GroupRole({String? id, String? groupId, String? name, String? description, bool? isSelfAssignable = false, List<String>? permissions, bool? isManagementRole = false, bool? requiresTwoFactor = false, bool? requiresPurchase = false, int? order, DateTime? createdAt, DateTime? updatedAt})
Returns a new GroupRole instance.
GroupRole.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime?
final
description String?
final
groupId String?
final
hashCode int
The hash code for this object.
no setteroverride
id String?
final
isManagementRole bool?
final
isSelfAssignable bool?
final
name String?
final
order int?
final
permissions List<String>?
final
requiresPurchase bool?
final
requiresTwoFactor bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override