fromJson method
Implementation
@override
DividerThemeData? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return DividerThemeData(
color: const NullableColorConverter().fromJson(
json['color'],
),
endIndent: (json['endIndent'] as num?)?.toDouble(),
indent: (json['indent'] as num?)?.toDouble(),
space: (json['space'] as num?)?.toDouble(),
thickness: (json['thickness'] as num?)?.toDouble(),
);
}