fromJson static method
Implementation
static BackgroundFillFreeformGradient? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return BackgroundFillFreeformGradient(
colors: List<int>.from(
tdListFromJson(
json['colors'],
).map((item) => int.tryParse((item as dynamic)?.toString() ?? '') ?? 0),
),
);
}