TokenModel.fromMap constructor

TokenModel.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TokenModel.fromMap(Map<String, dynamic> map) {
  return TokenModel(
    id: map['id'],
    method: map['method'],
  );
}