RegisterDeviceTokenRes.fromMap constructor

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

Implementation

factory RegisterDeviceTokenRes.fromMap(Map<String, dynamic> map) {
  return RegisterDeviceTokenRes(
    domain: map['domain'] as String,
    extension: map['extension'] as String,
    pnToken: map['pn_token'] as String,
    pnType: map['pn_type'] as String,
  );
}