RegexPatternSet.fromJson constructor
Implementation
factory RegexPatternSet.fromJson(Map<String, dynamic> json) {
return RegexPatternSet(
arn: json['ARN'] as String?,
description: json['Description'] as String?,
id: json['Id'] as String?,
name: json['Name'] as String?,
regularExpressionList: (json['RegularExpressionList'] as List?)
?.whereNotNull()
.map((e) => Regex.fromJson(e as Map<String, dynamic>))
.toList(),
);
}