ApplicationOrId.fromJson constructor
ApplicationOrId.fromJson(
- Object? json
Implementation
factory ApplicationOrId.fromJson(Object? json) {
if (json is String) {
return ApplicationId(id: json);
}
return Application.fromJson(json);
}