POST /api/v1/users/start-phone-sign-up
{
"firstName": "Henrick",| final flutterPushNotification = FlutterPushNotification(); | |
| flutterPushNotification.setup( | |
| onResume(Notification notification, Map<String, dynamic> data) async { | |
| if (notification != null) { | |
| print(notification.title); | |
| print(notification.body); | |
| } | |
| message.forEach((key, value) { | |
| print("Key: '$key' Value: '$value'"); |
| FooBar > Privacy Policy | |
| NextBSS built the FooBar app as a Free app. This SERVICE is provided by NextBSS at no cost and is intended for use as is. | |
| This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service. | |
| If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy. | |
| The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at FooBar unless otherwise defined in this Privacy Policy. | |
| Information Collection and Use |
| { | |
| "id": 1, | |
| "first_name": "Henrick", | |
| "last_name": "Kakutalua", | |
| "birthday": "2020-09-23T00:00:00+00:01", | |
| "bio": "Lorem ipsum dolor amet consectur", | |
| "image_url": "https://image/profile_photo.jpg" | |
| } |
| package com.example.partialupdates.domain; | |
| import java.time.OffsetDateTime; | |
| import java.util.Objects; | |
| import java.util.Optional; | |
| public class Person { | |
| private final long id; | |
| private String firstName; | |
| private String lastName; |
| package com.example.partialupdates.repositories; | |
| import com.example.partialupdates.domain.Person; | |
| import org.springframework.stereotype.Repository; | |
| import java.time.OffsetDateTime; | |
| import java.util.*; | |
| import java.util.function.UnaryOperator; | |
| @Repository |
| package com.example.partialupdates.controllers.dtos; | |
| import java.time.OffsetDateTime; | |
| public class PersonReadDto { | |
| private final long id; | |
| private final String firstName; | |
| private final String lastName; | |
| private final OffsetDateTime birthday; | |
| private final String bio; |
| package com.example.partialupdates.controllers.dtos; | |
| import java.time.OffsetDateTime; | |
| public class PersonUpdateDto { | |
| private String firstName; | |
| private String lastName; | |
| private OffsetDateTime birthday; | |
| private String bio; | |
| private String imageUrl; |
| package com.example.partialupdates.controllers; | |
| import com.example.partialupdates.controllers.dtos.PersonReadDto; | |
| import com.example.partialupdates.controllers.dtos.PersonUpdateDto; | |
| import com.example.partialupdates.domain.Person; | |
| import com.example.partialupdates.repositories.PeopleRepository; | |
| import org.springframework.http.ResponseEntity; | |
| import org.springframework.web.bind.annotation.*; | |
| import javax.validation.Valid; |