fromJson static method

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

Implementation

static TMeUrls? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return TMeUrls(
    urls: List<TMeUrl>.from(
      tdListFromJson(json['urls'])
          .map((item) => TMeUrl.fromJson(tdMapFromJson(item)))
          .whereType<TMeUrl>(),
    ),
  );
}