toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "prefixes": prefixes == null ? null : List<dynamic>.from(prefixes!.map((x) => x)),
      "regex": regex == null ? null : regex,
    };