layout static method

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

Implementation

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