initKey static method

void initKey({
  1. required String androidKey,
  2. required String iosKey,
})

初始化KAY

Implementation

static void initKey({required String androidKey,required String iosKey}){
  XbrAmap.instance().apikey = AMapApiKey(androidKey:androidKey,iosKey:iosKey);
}