identifier static method

Future<TrackModel?> identifier(
  1. String activityName,
  2. TrackBulider properties,
  3. OtherID otherid
)

Implementation

static Future<TrackModel?> identifier(String activityName, TrackBulider properties, OtherID otherid) async {
  try {
    TrackModel identifierModel = TrackModel();
    identifierModel.activityName = activityName;
    identifierModel.properties = properties.properties;
    identifierModel.otherid = otherid.trackId;

    return identifierModel;
  } on PlatformException {}
  return null;
}