toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final access = this.access;
  final name = this.name;
  final type = this.type;
  return {
    'Access': access.toValue(),
    'Name': name,
    'Type': type.toValue(),
  };
}