queryCouncilMotions method
Implementation
Future<List<CouncilMotionData>> queryCouncilMotions() async {
final List? data = await service.queryCouncilMotions();
if (data != null) {
return data
.map((e) => CouncilMotionData.fromJson(Map<String, dynamic>.of(e)))
.toList();
}
return [];
}