RequestArguments<T>.fromJson constructor

RequestArguments<T>.fromJson(
  1. Map<String, dynamic> json,
  2. T fromJsonT(
    1. Object? json
    )
)

Implementation

factory RequestArguments.fromJson(
  Map<String, dynamic> json,
  T Function(Object? json) fromJsonT,
) =>
    RequestArguments<T>(
      method: json['method'] as String,
      params: _$nullableGenericFromJson(json['params'], fromJsonT),
    );