TensorBoardAppSettings.fromJson constructor

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

Implementation

factory TensorBoardAppSettings.fromJson(Map<String, dynamic> json) {
  return TensorBoardAppSettings(
    defaultResourceSpec: json['DefaultResourceSpec'] != null
        ? ResourceSpec.fromJson(
            json['DefaultResourceSpec'] as Map<String, dynamic>)
        : null,
  );
}