toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final regexString = this.regexString;
  return {
    if (regexString != null) 'RegexString': regexString,
  };
}