commentPreload top-level constant

String const commentPreload

Add preload comment

Implementation

const String commentPreload = '''/// bool preload: if true, loads all related child objects (Set preload to true if you want to load all fields related to child or parent)
    /// ex: methodname(preload:true) -> Loads all related objects
    /// List<String> preloadFields: specify the fields you want to preload (preload parameter's value should also be "true")
    /// ex: methodname(preload:true, preloadFields:['plField1','plField2'... etc])  -> Loads only certain fields what you specified
    /// bool loadParents: if true, loads all parent objects until the object has no parent
''';