parseEntryArgs static method
Implementation
static EntryArguments parseEntryArgs(List<String>? args) {
if (args == null || args.isEmpty) {
return EntryArguments(null, null);
}
final jsonObject = args.isNotEmpty ? jsonDecode(args.first) : {};
String? initialRoute = jsonObject['initialRoute'];
Map<String, dynamic>? routeArguments = jsonObject['routeArguments'];
return EntryArguments(initialRoute, routeArguments);
}