---
# System prepended metadata

title: Data Model - NeoButtonDataModel
tags: [Flutter-Data]

---

NeoButtonDataModel
---
```dart
class NeoButtonDataModel {
  @JsonKey(name: 'transitionId')
  final String transitionId;

  @JsonKey(name: 'labelText')
  final String labelText;

  @JsonKey(name: 'displayMode')
  // Enum values: primary, secondary, line, textBold, textRegular
  final NeoButtonDisplayMode displayMode;

  NeoButtonDataModel({
    required this.transitionId,
    this.labelText = "",
    this.displayMode = NeoButtonDisplayMode.textRegular,
  });
}
```