getContext method Null safety

Object? getContext (
  1. String contextType,
  2. [Map? attributes]
)

Implementation

Object? getContext(String contextType, [Map? attributes]) {
  if (attributes != null) {
    var attributes_1 = convertDartToNative_Dictionary(attributes);
    return _getContext_1(contextType, attributes_1);
  }
  return _getContext_2(contextType);
}