PamGrantTokenResult.fromJson constructor

PamGrantTokenResult.fromJson(
  1. dynamic object
)

Implementation

factory PamGrantTokenResult.fromJson(dynamic object) {
  var result = DefaultResult.fromJson(object);
  var data = result.otherKeys['data'];

  return PamGrantTokenResult._(data['message'], data['token']);
}