getInfo method
获取信息
Implementation
@override
Future<bool> getInfo({List<String> include = const []}) async {
if (objectId.isEmpty) throw Exception("objectId is empty");
var data = await BmobNetHelper.init().get('/1/roles/$objectId');
if (data != null && data.containsKey('objectId')) {
fromJson(data);
return true;
}
return false;
}