JsonFunctionTarget<RequestType, ResponseType> constructor

JsonFunctionTarget<RequestType, ResponseType>(
  1. JsonHandler<RequestType, ResponseType> function,
  2. RequestType fromJson(
    1. Object?
    )
)

Implementation

factory JsonFunctionTarget(
  JsonHandler<RequestType, ResponseType> function,
  RequestType Function(Object?) fromJson,
) = _JsonFunctionTarget<RequestType, ResponseType>;