Skip to content

[How to use] enum #156

Description

@Microcrab

Platforms

dart

Description

当模型中的属性定义为枚举时,byName方法的限制,json 中的数据是否只能是 string,而不能是 int。有没有其他的示例或思路。谢谢。
3

My code

2
1

Try do it

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions