PublicSendModel.arr constructor

const PublicSendModel.arr({
  1. @JsonKey(name: 'type') @Default('') String type,
  2. @JsonKey(name: 'data') @Default([]) List<String> data,
})

Implementation

const factory PublicSendModel.arr({
  @JsonKey(name: 'type') @Default('') String type,
  @JsonKey(name: 'data') @Default([]) List<String> data,
}) = PublicSendModelArr;