getJson method
dynamic
getJson(
- dynamic json
Implementation
dynamic getJson(json) {
if (json == null) return null;
switch (this) {
case CallBackParameterName.all:
return json;
case CallBackParameterName.token:
return json['token'];
}
}