|
@@ -18,8 +18,11 @@ class ViewBackendService {
|
|
|
required String name,
|
|
|
String? desc,
|
|
|
|
|
|
- /// If [openAfterCreate] is true, the view will be opened after created.
|
|
|
- bool openAfterCreate = true,
|
|
|
+ /// The default value of [openAfterCreate] is false, meaning the view will
|
|
|
+ /// not be opened nor set as the current view. However, if set to true, the
|
|
|
+ /// view will be opened and set as the current view. Upon relaunching the
|
|
|
+ /// app, this view will be opened
|
|
|
+ bool openAfterCreate = false,
|
|
|
|
|
|
/// The initial data should be a JSON that represent the DocumentDataPB.
|
|
|
/// Currently, only support create document with initial data.
|