layout static method

Layout<Map<String, dynamic>> layout({
  1. String? property,
})

Implementation

static Layout<Map<String, dynamic>> layout({String? property}) {
  return LayoutConst.lazyEnumS32Be(
      List.generate(ClawbackResultCode.values.length, (index) {
        final type = ClawbackResultCode.values.elementAt(index);
        switch (type) {
          default:
            return LazyVariantModel(
                index: type.value,
                layout: ClawbackResultVoid.layout,
                property: type.name);
        }
      }),
      property: property);
}