ICode9

精准搜索请尝试: 精确搜索
  • 记一次Flutter Json数组转换为List对象2022-09-16 22:33:52

    在dio请求数据之后进行fromJson操作 // response是请求接口后返回的json数据,调用fromJson方法 DevicePageListResponseEntity.fromJson(response); // 实体类 class DevicePageListResponseEntity { int? code; List<DeviceItem>? items; DevicePageListResponseEntity({

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有