fetch method Null safety
最初の一件だけ取得する 検索結果はNCMBObjectやNCMBUser、NCMBFile、NCMBPush、NCMBInstallationのインスタンスとして返るので、 ここではdynamic型で返す
Implementation
Future fetch() async {
try {
_queries['limit'] = 1;
var res = await fetchAll();
if (res.length == 0) return null;
return res[0];
} catch (e) {
throw e;
}
}