fromMap static method

CustomAttributesOption? fromMap(
  1. Object? body
)

Implementation

static CustomAttributesOption? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return CustomAttributesOption(
    displayOrder: readInteger(source['display_order']),
    name: readText(source['name']),
  );
}