Result.fromJson constructor

Result.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Result.fromJson(Map<String, dynamic> json)
    : code = json['code'] as int,
      data = json['data'],
      msg = json['msg'] as String?,
      timestamp = json['timestamp'] as int?;