SessionModel.fromJson constructor

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

Implementation

SessionModel.fromJson(Map<String, dynamic> json) {
  success = json['success'];
  data = json['data'] != null ? new Data.fromJson(json['data']) : null;
}