load abstract method

Future load(
  1. [Future loader(
      )]
    )

    Load the resource. If the resource is already loading, the call will return immediately with null.

    By default it will load the resource using LoaderBuilder.loader. You can provide a custom loader via loader.

    Calling this method will clear the data of error and errorStacktrace.

    Implementation

    Future<dynamic> load([Future<dynamic> Function() loader]);