toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'topic': topic,
      'authPayload': authPayload.toJson(),
      'requester': requester.toJson(),
      'transportType': transportType.name,
      if (verifyContext != null) 'verifyContext': verifyContext!.toJson(),
    };