TcmppConfigInfo.fromJson constructor

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

Implementation

factory TcmppConfigInfo.fromJson(Map<String, dynamic> json) =>
    TcmppConfigInfo(
      name: json['name'],
      fileName: json['fileName'],
      isBuiltIn: json['isBuiltIn'] ?? false,
      addedTime: json['addedTime'] != null
          ? DateTime.parse(json['addedTime'])
          : null,
    );