Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
bisago
bisago-fe
Commits
9fdefeba
Commit
9fdefeba
authored
May 17, 2021
by
Yoga Pratama
Browse files
[CHORES] Handle when result is null
parent
44991b58
Pipeline
#77464
passed with stages
in 14 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/utils/custom_kegiatan_terdekat_button.dart
View file @
9fdefeba
...
...
@@ -32,7 +32,8 @@ class _KegiatanTerdekatButtonState extends State<KegiatanTerdekatButton> {
'name'
,
],
);
return
details
.
result
.
name
;
final
result
=
details
.
result
;
return
result
==
null
?
'INVALID'
:
result
.
name
;
}
void
_navigateToDetailPostKegiatanPage
(
BuildContext
context
)
async
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment