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