onLoad abstract method
Load resource data into json object; The path can be either assets key or
http url, both should stands for valid json resource.
The cache
argument indicate cache implementation.
The h
contains framework relative headers.
Implementation
Future<Map?> onLoad(String? path, FairDecoder decoder,
{bool cache = true, Map<String, String>? h});