VerifyCodeResponse.fromJson constructor

VerifyCodeResponse.fromJson(
  1. Map json
)

Implementation

VerifyCodeResponse.fromJson(Map json) {
  if (json.containsKey('result')) {
    result = json['result'];
  } else {
    result = false;
  }

  if (json.containsKey('validate')) {
    validate = json['validate'];
  }

  if (json.containsKey('message')) {
    message = json['message'];
  }
}