Warning.fromJson constructor

Warning.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Warning.fromJson(Map<String, dynamic> json) {
  return Warning(
    code: json['Code'] as String?,
    message: json['Message'] as String?,
  );
}