FeatureViewDataKey.fromJson constructor

FeatureViewDataKey.fromJson(
  1. Object? j
)

Implementation

factory FeatureViewDataKey.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return FeatureViewDataKey(
    key: switch (json['key']) {
      null => null,
      Object $1 => decodeString($1),
    },
    compositeKey: switch (json['compositeKey']) {
      null => null,
      Object $1 => FeatureViewDataKey_CompositeKey.fromJson($1),
    },
  );
}