matches method

bool matches(
  1. Map<String, dynamic>? variables
)

Implementation

bool matches(Map<String, dynamic>? variables) {
  switch (_type) {
    case MessageBlockBranchType.zero:
      return matchesZero(variables);
    case MessageBlockBranchType.one:
      return matchesOne(variables);
    case MessageBlockBranchType.two:
      return matchesTwo(variables);
    case MessageBlockBranchType.many:
      return matchesMany(variables);
    case MessageBlockBranchType.other:
      return matchesOther(variables);
    case MessageBlockBranchType.defaultBranch:
      return false;
    default:
      return false;
  }
}