Skip to content

Commit 5ef1728

Browse files
authored
fix: Improve pub.dev scores for license detection and static analysis (#63)
1 parent 7013466 commit 5ef1728

14 files changed

Lines changed: 216 additions & 99 deletions

LICENSE

Lines changed: 199 additions & 81 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/// Contains the status values for app tracking authorization.
1+
// Contains the status values for app tracking authorization.
22
enum MPATTAuthorizationStatus { NotDetermined, Restricted, Denied, Authorized }

lib/consent/consent.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// This class represents an Consent Object to be logged using the mParticle SDK
1+
// This class represents a Consent Object to be logged using the mParticle SDK.
22
class Consent {
33
/// Whether the user consented to data collection
44
bool consented;

lib/events/event_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// Contains the event types for logging mParticle custom events
1+
// Contains the event types for logging mParticle custom events.
22
enum EventType {
33
Unknown,
44
Navigation,

lib/events/product.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// A Product for use with a commerce event
1+
// A Product for use with a commerce event.
22
class Product {
33
Product(
44
{required this.name,

lib/events/product_action_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// Contains the Product Action types for logging mParticle commerce product events
1+
// Contains the Product Action types for logging mParticle commerce product events.
22
enum ProductActionType {
33
AddToCart,
44
RemoveFromCart,

lib/events/promotion.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// A Promotion for use with a commerce event
1+
// A Promotion for use with a commerce event.
22
class Promotion {
33
Promotion(
44
{required this.promotionId, this.creative, this.name, this.position});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/// Contains the event types for logging mParticle custom events
1+
// Contains the promotion action types for logging mParticle commerce events.
22
enum PromotionActionType { Click, View }

lib/events/screen_event.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/// This class represents a screen event to be logged using the mParticle SDK
2-
1+
// This class represents a screen event to be logged using the mParticle SDK.
32
class ScreenEvent {
43
/// The name of the screen event to be logged.
54
String eventName;

lib/events/transaction_attributes.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/// This class represents the attributes of a commerce event transaction. It is used in conjunction with CommerceEvent.
2-
1+
// This class represents the attributes of a commerce event transaction. It is used in conjunction with CommerceEvent.
32
class TransactionAttributes {
43
TransactionAttributes(
54
{required this.transactionId,

0 commit comments

Comments
 (0)