ConfigurationProfileSummary.fromJson constructor
ConfigurationProfileSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConfigurationProfileSummary.fromJson(Map<String, dynamic> json) {
return ConfigurationProfileSummary(
applicationId: json['ApplicationId'] as String?,
id: json['Id'] as String?,
locationUri: json['LocationUri'] as String?,
name: json['Name'] as String?,
validatorTypes: (json['ValidatorTypes'] as List?)
?.whereNotNull()
.map((e) => (e as String).toValidatorType())
.toList(),
);
}