SessionRequest constructor

  1. @JsonSerializable()
const SessionRequest({
  1. required int id,
  2. required String topic,
  3. required String method,
  4. required String chainId,
  5. required dynamic params,
  6. required VerifyContext verifyContext,
  7. @Default(TransportType.relay) TransportType transportType,
})

Implementation

@JsonSerializable()
const factory SessionRequest({
  required int id,
  required String topic,
  required String method,
  required String chainId,
  required dynamic params,
  required VerifyContext verifyContext,
  @Default(TransportType.relay) TransportType transportType,
}) = _SessionRequest;