FeatureViewDirectWriteResponse_WriteResponse.fromJson constructor

FeatureViewDirectWriteResponse_WriteResponse.fromJson(
  1. Object? j
)

Implementation

factory FeatureViewDirectWriteResponse_WriteResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return FeatureViewDirectWriteResponse_WriteResponse(
    dataKey: switch (json['dataKey']) {
      null => null,
      Object $1 => FeatureViewDataKey.fromJson($1),
    },
    onlineStoreWriteTime: switch (json['onlineStoreWriteTime']) {
      null => null,
      Object $1 => protobuf.Timestamp.fromJson($1),
    },
  );
}