Warning.fromJson constructor
Implementation
factory Warning.fromJson(Map<String, dynamic> json) {
return Warning(
errorCode: json['ErrorCode'] as String?,
pages: (json['Pages'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
);
}