RemoveDeviceTokenReq.fromMap constructor

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

Implementation

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