ExactMatchInput.fromJson constructor

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

Implementation

factory ExactMatchInput.fromJson(Map<String, dynamic> json) {
  return ExactMatchInput(
    metricSpec: decode(json['metricSpec'], ExactMatchSpec.fromJson),
    instances:
        decodeListMessage(json['instances'], ExactMatchInstance.fromJson) ??
        [],
  );
}