ErrorDetail.fromJson constructor
Implementation
factory ErrorDetail.fromJson(Map<String, dynamic> json) {
return ErrorDetail(
errorCode: (json['errorCode'] as String?)?.toErrorCode(),
errorMessage: json['errorMessage'] as String?,
resourceIds: (json['resourceIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}