TokenModel.fromJson constructor

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

Implementation

factory TokenModel.fromJson(Map<String, dynamic> json) => TokenModel(
      success: json["success"],
      token: json["token"],
    );