toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audience = this.audience;
  final issuer = this.issuer;
  return {
    if (audience != null) 'audience': audience,
    if (issuer != null) 'issuer': issuer,
  };
}