Skip to content

Instantly share code, notes, and snippets.

@ntimesc
ntimesc / main.dart
Created July 26, 2021 11:02
Common request parameter in clean architecture
void main(){
// only UI has exposure to `UserProfileRequestData` and not to the `UserProfileRequestDataModel`
final data = UserProfileRequestData(id:101,first_name:"John",last_name:"Carry");
updateUserProfileRepo(data);
}