AgentVersion.fromJson constructor

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

Implementation

factory AgentVersion.fromJson(Map<String, dynamic> json) {
  return AgentVersion(
    configurationManager: json['ConfigurationManager'] != null
        ? StackConfigurationManager.fromJson(
            json['ConfigurationManager'] as Map<String, dynamic>)
        : null,
    version: json['Version'] as String?,
  );
}