get method

Get miniapp by id

Implementation

Future<NUIMiniProgramModule?> get(String miniApp) async{
  final miniApps = await getMiniApps();
  return miniApps.where((element) => element.id == miniApp).firstOrNull;
}