toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'key'] = key.value;
  json[r'target'] = target;
  json[r'access'] = access;
  return json;
}