INNER CODE UNIT · Dart

CastDict

kaina404/FlutterDouBan · lib/bean/celebrity_entity.dart:260

class CastDict {

	String alt;
	Avatars avatars;
	String id;
	String name;
	String name_en;

	CastDict.fromParams({this.alt, this.avatars, this.id, this.name, this.name_en});

	CastDict.fromJson(jsonRes) {
		alt = jsonRes['alt'];
		avatars = jsonRes['avatars'] == null ? null : new Avatars.fromJson(jsonRes['avatars']);
		id = jsonRes['id'];
		name = jsonRes['name'];
		name_en = jsonRes['name_en'];
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…