screen static method

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

Implementation

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

    return screenModel;
  } on PlatformException {
    //
  }
  return null;
}