fromJson static method

App fromJson(
  1. dynamic app
)

Implementation

static App fromJson(dynamic app) {
  return App(
      aid: app['aid'],
      name: app['name'],
      versionCode: app['versionCode'],
      version: app['version'],
      avatar: app['avatar'],
      url: app['url'],
      status: app['status'],
      tip: app['tip'],
      forceUpgrade: app['forceUpgrade']);
}