toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'grants'] = grants.toList();
  json[r'revokes'] = revokes.toList();
  return json;
}