toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "device_token": deviceToken,
      "last_used": lastUsedTimeStamp,
      "platform": platform,
      "attributes": attributes?.toJson(),
    };