getContext method

BeagleDataContext? getContext()

Implementation

BeagleDataContext? getContext() {
  if (!properties.containsKey('context')) {
    return null;
  }
  final Map<String, dynamic> contextMap = properties['context'];
  return BeagleDataContext(
    id: contextMap['id'],
    value: contextMap['value'],
  );
}