JsonWithContextFunctionTarget<RequestType, ResponseType> constructor

JsonWithContextFunctionTarget<RequestType, ResponseType>(
  1. JsonWithContextHandler<RequestType, ResponseType> function,
  2. RequestType fromJson(
    1. Object?
    )
)

Implementation

factory JsonWithContextFunctionTarget(
  JsonWithContextHandler<RequestType, ResponseType> function,
  RequestType Function(Object?) fromJson,
) = _JsonWithContextFunctionTarget<RequestType, ResponseType>;