buildPermissionNode function

XmlDocumentFragment buildPermissionNode(
  1. String permId
)

Implementation

XmlDocumentFragment buildPermissionNode(String permId) {
  final builder = XmlBuilder();
  builder.element('uses-permission', nest: () {
      builder.attribute('android:name', 'android.permission.$permId');
  });
  return builder.buildFragment();
}