mParticle / mparticle-flutter-sdk

A Flutter plugin that gives developers an API to implement mParticle on Flutter. This supports publishing a Flutter plugin to iOS, Android, and Web.
Apache License 2.0
4 stars 8 forks source link

docs: Update docs and example app for named parameters #23

Closed rmi22186 closed 3 years ago

rmi22186 commented 3 years ago

Summary

Now that we have migrated everything over to named parameters, this PR updates the docs and example app to reflect the changes to the API.

rmi22186 commented 3 years ago

Looks great! I don't even want to really bring it up, but what is your opinion on using var (implicit type) vs {Class} (explicit type)?

Seems like we are leaning towards the latter, it's a little more verbose but it does make the docs a lot easier to understand for a first-time mParticle developer so I'm on board

@willpassidomo - i think it's more accurate to do the latter, the explicit type.