fromJson static method

Auth fromJson(
  1. dynamic json
)

Implementation

static Auth fromJson(dynamic json) {
  return Auth(
      message: json['message'],
      code: json['code'],
      data: json['data'] == null ? null : Data.fromJson(json['data']));
}