NiceComponentMapping.fromJson constructor
Implementation
factory NiceComponentMapping.fromJson(Map<String, dynamic> json) {
return NiceComponentMapping(
schemaType: json['schemaType'] as String,
reactComponent: json['reactComponent'] as String,
flutterWidget: json['flutterWidget'] as String,
description: json['description'] as String?,
propMapping:
(json['propMapping'] as Map<String, dynamic>?)?.cast<String, String>() ??
const {},
);
}