StringMatch.fromJson constructor

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

Creates a StringMatch from JSON data.

Implementation

StringMatch.fromJson(Map<String, dynamic> json)
    : this(
        exact: json['exact'],
        prefix: json['prefix'],
        regex: json['regex'],
      );