StreamingFetchFeatureValuesResponse.fromJson constructor

StreamingFetchFeatureValuesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StreamingFetchFeatureValuesResponse.fromJson(
  Map<String, dynamic> json,
) {
  return StreamingFetchFeatureValuesResponse(
    status: decode(json['status'], Status.fromJson),
    data:
        decodeListMessage(
          json['data'],
          FetchFeatureValuesResponse.fromJson,
        ) ??
        [],
    dataKeysWithError:
        decodeListMessage(
          json['dataKeysWithError'],
          FeatureViewDataKey.fromJson,
        ) ??
        [],
  );
}