Nullable in swift and kotlin

前端 未结 0 566
心在旅途
心在旅途 2020-12-12 18:05

Is it ok to set all model value to nullable kotlin and swift?

Like this:

// MARK: - LoginModel
struct LoginModel: Codable {
    let message: String?
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题