id static method

AndroidResource id({
  1. required String name,
  2. String? defPackage,
})

Implementation

static AndroidResource id({required String name, String? defPackage}) {
  return AndroidResource(name: name, defType: "id", defPackage: defPackage);
}